mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update cluster.py
This commit is contained in:
parent
e71387f509
commit
974f362e1c
@ -443,7 +443,7 @@ class ClickHouseCluster:
|
||||
run_and_check(self.base_cmd + ["up", "--force-recreate", "--no-deps", "-d", node.name])
|
||||
node.ip_address = self.get_instance_ip(node.name)
|
||||
node.client = Client(node.ip_address, command=self.client_bin_path)
|
||||
node.wait_for_start(timeout=20.0, connection_timeout=600.0) # seconds
|
||||
node.wait_for_start(start_timeout=20.0, connection_timeout=600.0) # seconds
|
||||
return node
|
||||
|
||||
def get_instance_ip(self, instance_name):
|
||||
|
Loading…
Reference in New Issue
Block a user