From eebbd65dd534091bdbaa610988f278eb56a27c5a Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 20 May 2022 12:03:36 -0700 Subject: [PATCH] Fix linter error --- ca/bootstrap_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ca/bootstrap_test.go b/ca/bootstrap_test.go index 9eb3b2ea..10e22519 100644 --- a/ca/bootstrap_test.go +++ b/ca/bootstrap_test.go @@ -7,6 +7,7 @@ import ( "net" "net/http" "net/http/httptest" + "os" "reflect" "strings" "sync" @@ -370,7 +371,9 @@ func TestBootstrapClient(t *testing.T) { } func TestBootstrapClientServerRotation(t *testing.T) { - t.Skipf("skip until we fix https://github.com/smallstep/certificates/issues/873") + if os.Getenv("CI") == "true" { + t.Skipf("skip until we fix https://github.com/smallstep/certificates/issues/873") + } reset := setMinCertDuration(1 * time.Second) defer reset()