From 933105a6678f7db1e520f77434acf03c013dce7f Mon Sep 17 00:00:00 2001 From: alesapin Date: Thu, 4 Feb 2021 16:31:38 +0300 Subject: [PATCH] Fix session timeout --- tests/integration/test_testkeeper_back_to_back/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_testkeeper_back_to_back/test.py b/tests/integration/test_testkeeper_back_to_back/test.py index d3a9b742cdd..0f2c1ed19a5 100644 --- a/tests/integration/test_testkeeper_back_to_back/test.py +++ b/tests/integration/test_testkeeper_back_to_back/test.py @@ -25,7 +25,7 @@ def get_fake_zk(): global _fake_zk_instance if not _fake_zk_instance: print("node", cluster.get_instance_ip("node")) - _fake_zk_instance = KazooClient(hosts=cluster.get_instance_ip("node") + ":9181") + _fake_zk_instance = KazooClient(hosts=cluster.get_instance_ip("node") + ":9181", timeout=30.0) def reset_last_zxid_listener(state): print("Fake zk callback called for state", state) global _fake_zk_instance