Mariano Cano 4 лет назад
Родитель
Сommit
eebbd65dd5
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      ca/bootstrap_test.go

+ 4 - 1
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()