mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Fix keeper zookeeper converter test
This commit is contained in:
parent
5434f1d149
commit
3b5b1d2006
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user