Log stdout and stderr when failed to start docker in integration tests.

This commit is contained in:
Vitaly Baranov 2021-02-17 20:05:52 +03:00
parent 5f8a6ab9c1
commit c704a8cc45

View File

@ -730,7 +730,7 @@ class ClickHouseCluster:
clickhouse_start_cmd = self.base_cmd + ['up', '-d', '--no-recreate']
print(("Trying to create ClickHouse instance by command %s", ' '.join(map(str, clickhouse_start_cmd))))
subprocess.check_output(clickhouse_start_cmd)
subprocess_check_call(clickhouse_start_cmd)
print("ClickHouse instance created")
start_deadline = time.time() + 20.0 # seconds