Explorar el Código

Merge pull request #8309 from gyuho/test-timeout

integration: increase dial timeout in testTLSReload
Gyu-Ho Lee hace 8 años
padre
commit
ee1c340126
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {