This commit is contained in:
Yatsishin Ilya 2021-05-25 18:32:24 +03:00
parent e9ccf906c4
commit a667a1c032
2 changed files with 4 additions and 4 deletions

View File

@ -851,7 +851,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(start_timeout=20.0, connection_timeout=600.0) # seconds
node.wait_for_start(start_timeout=180.0, connection_timeout=600.0) # seconds
return node
def restart_service(self, service_name):
@ -1399,7 +1399,7 @@ class ClickHouseCluster:
run_and_check(clickhouse_start_cmd)
logging.debug("ClickHouse instance created")
start_timeout = 60.0 # seconds
start_timeout = 180.0 # seconds
for instance in self.instances.values():
instance.docker_client = self.docker_client
instance.ip_address = self.get_instance_ip(instance.name)

View File

@ -6,8 +6,8 @@ junit_duration_report = call
junit_suite_name = integration
log_cli = 1
log_cli_level = CRITICAL
log_cli_format = %%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_format = %%(asctime)s [%(levelname)8s] %(funcName)s %(message)s (%(filename)s:%(lineno)s)
log_file = pytest.log
log_file_level = DEBUG
log_file_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_file_format = %(asctime)s [%(levelname)8s] %(funcName)s %(message)s (%(filename)s:%(lineno)s)
log_file_date_format=%Y-%m-%d %H:%M:%S