forked from TrueCloudLab/certificates
Fix tests.
This commit is contained in:
parent
975cb75fbd
commit
758d829355
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ func TestBootstrapClientServerRotation(t *testing.T) {
|
||||||
|
|
||||||
// doTest does a request that requires mTLS
|
// doTest does a request that requires mTLS
|
||||||
doTest := func(client *http.Client) error {
|
doTest := func(client *http.Client) error {
|
||||||
|
time.Sleep(1 * time.Second)
|
||||||
// test with ca
|
// test with ca
|
||||||
resp, err := client.Post(caURL+"/renew", "application/json", http.NoBody)
|
resp, err := client.Post(caURL+"/renew", "application/json", http.NoBody)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue