Fix potential race condition in test

This commit is contained in:
TwinProduction 2021-07-24 19:12:57 -04:00
parent 423ada68b3
commit bcd4105af3

View File

@ -15,7 +15,7 @@ var (
secondCondition = core.Condition("[RESPONSE_TIME] < 500")
thirdCondition = core.Condition("[CERTIFICATE_EXPIRATION] < 72h")
now = time.Now()
now = time.Now().Truncate(time.Minute)
testService = core.Service{
Name: "name",