Selaa lähdekoodia

integration: increase dial timeout in testTLSReload

Gyu-Ho Lee 8 vuotta sitten
vanhempi
commit
9b6799a5b6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      integration/v3_grpc_test.go

+ 1 - 1
integration/v3_grpc_test.go

@@ -1783,7 +1783,7 @@ func testTLSReload(t *testing.T, cloneFunc func() transport.TLSInfo, replaceFunc
 	}
 	cl, cerr := clientv3.New(clientv3.Config{
 		Endpoints:   []string{clus.Members[0].GRPCAddr()},
-		DialTimeout: time.Second,
+		DialTimeout: 5 * time.Second,
 		TLS:         tls,
 	})
 	if cerr != nil {