From 37f84e9bb33f84106384b3990d6fb260e2200d44 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Mon, 3 Aug 2020 19:01:15 -0700 Subject: [PATCH] Add delay in test. --- authority/provisioner/sign_options_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/provisioner/sign_options_test.go b/authority/provisioner/sign_options_test.go index 459455bc..28b0dc82 100644 --- a/authority/provisioner/sign_options_test.go +++ b/authority/provisioner/sign_options_test.go @@ -659,7 +659,7 @@ func Test_profileDefaultDuration_Option(t *testing.T) { t.Run(name, func(t *testing.T) { tt := run() assert.FatalError(t, tt.pdd.Modify(tt.cert, tt.so), "unexpected error") - time.Sleep(1 * time.Nanosecond) + time.Sleep(100 * time.Millisecond) tt.valid(tt.cert) }) }