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

+ 1 - 0
ca/bootstrap_test.go

@@ -363,6 +363,7 @@ func TestBootstrapClientServerRotation(t *testing.T) {
 
 	// doTest does a request that requires mTLS
 	doTest := func(client *http.Client) error {
+		time.Sleep(1 * time.Second)
 		// test with ca
 		resp, err := client.Post(caURL+"/renew", "application/json", http.NoBody)
 		if err != nil {