raise timeout for test_host_ip_change/test.py::test_user_access_ip_change

This commit is contained in:
Nikita Mikhaylov 2021-05-28 17:37:05 +03:00
parent 7b04181dd9
commit 095f06c8a3
2 changed files with 6 additions and 4 deletions

View File

@ -455,7 +455,10 @@ 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(start_timeout=20.0, connection_timeout=600.0) # seconds
print("Restart node with ip change")
# In builds with sanitizer the server can take a long time to start
node.wait_for_start(start_timeout=60.0, connection_timeout=600.0) # seconds
print("Restarted")
return node
def get_instance_ip(self, instance_name):