浏览代码

integration: increase dial timeout in testTLSReload

Gyu-Ho Lee 8 年之前
父节点
当前提交
9b6799a5b6
共有 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 {