فهرست منبع

Merge pull request #8309 from gyuho/test-timeout

integration: increase dial timeout in testTLSReload
Gyu-Ho Lee 8 سال پیش
والد
کامیت
ee1c340126
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 {