Repository: kudu
Updated Branches:
  refs/heads/master 31f4589ba -> 795f5ee94


[python] Fix flaky test test_connect_timeouts

It only tests passing the timeout, but it's low enough that on our poor
jenkins workers it might actually time out connecting to the cluster.

Change-Id: I9df059724ae77c404bccc594e4fa01ac75d905a5
Reviewed-on: http://gerrit.cloudera.org:8080/6573
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/960a061c
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/960a061c
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/960a061c

Branch: refs/heads/master
Commit: 960a061c40a6e25797078e3fb16890e887ec67c3
Parents: 31f4589
Author: Jean-Daniel Cryans <[email protected]>
Authored: Thu Apr 6 15:43:15 2017 -0700
Committer: Todd Lipcon <[email protected]>
Committed: Fri Apr 7 21:04:51 2017 +0000

----------------------------------------------------------------------
 python/kudu/tests/test_client.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/960a061c/python/kudu/tests/test_client.py
----------------------------------------------------------------------
diff --git a/python/kudu/tests/test_client.py b/python/kudu/tests/test_client.py
index 779cd25..0a3d47e 100644
--- a/python/kudu/tests/test_client.py
+++ b/python/kudu/tests/test_client.py
@@ -258,8 +258,8 @@ class TestClient(KuduTestBase, unittest.TestCase):
     def test_connect_timeouts(self):
         # it works! any other way to check
         kudu.connect(self.master_hosts, self.master_ports,
-                     admin_timeout_ms=100,
-                     rpc_timeout_ms=100)
+                     admin_timeout_ms=1000,
+                     rpc_timeout_ms=1000)
 
     def test_capture_kudu_error(self):
         pass

Reply via email to