Fix potential race condition in test
This commit is contained in:
parent
423ada68b3
commit
bcd4105af3
@ -15,7 +15,7 @@ var (
|
|||||||
secondCondition = core.Condition("[RESPONSE_TIME] < 500")
|
secondCondition = core.Condition("[RESPONSE_TIME] < 500")
|
||||||
thirdCondition = core.Condition("[CERTIFICATE_EXPIRATION] < 72h")
|
thirdCondition = core.Condition("[CERTIFICATE_EXPIRATION] < 72h")
|
||||||
|
|
||||||
now = time.Now()
|
now = time.Now().Truncate(time.Minute)
|
||||||
|
|
||||||
testService = core.Service{
|
testService = core.Service{
|
||||||
Name: "name",
|
Name: "name",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user