mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Add diagnostics to help find out why integration tests fail.
This commit is contained in:
parent
0cebefae3e
commit
64cf6a0b2b
@ -401,11 +401,11 @@ class ClickHouseCluster:
|
||||
|
||||
if not subprocess_call(['docker-compose', 'kill']):
|
||||
subprocess_call(['docker-compose', 'down', '--volumes'])
|
||||
logging.info("Unstopped containers killed")
|
||||
except:
|
||||
pass
|
||||
|
||||
logging.info("Unstopped containers killed")
|
||||
|
||||
try:
|
||||
if destroy_dirs and p.exists(self.instances_dir):
|
||||
logging.info("Removing instances dir %s", self.instances_dir)
|
||||
shutil.rmtree(self.instances_dir)
|
||||
@ -473,6 +473,11 @@ class ClickHouseCluster:
|
||||
|
||||
self.is_up = True
|
||||
|
||||
except BaseException, e:
|
||||
print "Failed to start cluster: "
|
||||
print str(e)
|
||||
raise
|
||||
|
||||
def shutdown(self, kill=True):
|
||||
sanitizer_assert_instance = None
|
||||
with open(self.docker_logs_path, "w+") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user