Fix linter error

This commit is contained in:
Mariano Cano 2022-05-20 12:03:36 -07:00
parent 1ad75a3bdb
commit eebbd65dd5

View file

@ -7,6 +7,7 @@ import (
"net" "net"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"os"
"reflect" "reflect"
"strings" "strings"
"sync" "sync"
@ -370,7 +371,9 @@ func TestBootstrapClient(t *testing.T) {
} }
func TestBootstrapClientServerRotation(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) reset := setMinCertDuration(1 * time.Second)
defer reset() defer reset()