Skip to content

Commit eebbd65

Browse files
committed
Fix linter error
1 parent 1ad75a3 commit eebbd65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ca/bootstrap_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"net"
88
"net/http"
99
"net/http/httptest"
10+
"os"
1011
"reflect"
1112
"strings"
1213
"sync"
@@ -370,7 +371,9 @@ func TestBootstrapClient(t *testing.T) {
370371
}
371372

372373
func TestBootstrapClientServerRotation(t *testing.T) {
373-
t.Skipf("skip until we fix https://github.com/smallstep/certificates/issues/873")
374+
if os.Getenv("CI") == "true" {
375+
t.Skipf("skip until we fix https://github.com/smallstep/certificates/issues/873")
376+
}
374377
reset := setMinCertDuration(1 * time.Second)
375378
defer reset()
376379

0 commit comments

Comments
 (0)