From bcd4105af35c7c01943b492536846370b2ef54c8 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sat, 24 Jul 2021 19:12:57 -0400 Subject: [PATCH] Fix potential race condition in test --- storage/store/store_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/store/store_test.go b/storage/store/store_test.go index 6b71a2de..adfa206c 100644 --- a/storage/store/store_test.go +++ b/storage/store/store_test.go @@ -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",