Fix keeper zookeeper converter test

This commit is contained in:
alesapin 2021-10-26 12:07:07 +03:00
parent 5434f1d149
commit 3b5b1d2006
2 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@
<snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_path>
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<operation_timeout_ms>30000</operation_timeout_ms>
<session_timeout_ms>600000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<snapshot_distance>75</snapshot_distance>
</coordination_settings>

View File

@ -60,12 +60,12 @@ def started_cluster():
finally:
cluster.shutdown()
def get_fake_zk(timeout=30.0):
def get_fake_zk(timeout=60.0):
_fake_zk_instance = KazooClient(hosts=cluster.get_instance_ip('node') + ":9181", timeout=timeout)
_fake_zk_instance.start()
return _fake_zk_instance
def get_genuine_zk(timeout=30.0):
def get_genuine_zk(timeout=60.0):
_genuine_zk_instance = KazooClient(hosts=cluster.get_instance_ip('node') + ":2181", timeout=timeout)
_genuine_zk_instance.start()
return _genuine_zk_instance