Merge pull request #8309 from gyuho/test-timeout

integration: increase dial timeout in testTLSReload
This commit is contained in:
Gyu-Ho Lee
2017-07-26 10:04:48 -07:00
committed by GitHub

View File

@@ -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 {