Merge pull request #23078 from kitaisreal/ci-runner-intergation-logs-tar-fix

CI runner intergation tests logs update to tar.gz
This commit is contained in:
Maksim Kita 2021-04-15 02:00:45 +03:00 committed by GitHub
commit c8bcfe89ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -435,7 +435,7 @@ class ClickhouseIntegrationTestsRunner:
time.sleep(5) time.sleep(5)
logging.info("Finally all tests done, going to compress test dir") logging.info("Finally all tests done, going to compress test dir")
test_logs = os.path.join(str(self.path()), "./test_dir.tar") test_logs = os.path.join(str(self.path()), "./test_dir.tar.gz")
self._compress_logs("{}/tests/integration".format(repo_path), test_logs) self._compress_logs("{}/tests/integration".format(repo_path), test_logs)
logging.info("Compression finished") logging.info("Compression finished")
@ -500,7 +500,7 @@ class ClickhouseIntegrationTestsRunner:
break break
logging.info("Finally all tests done, going to compress test dir") logging.info("Finally all tests done, going to compress test dir")
test_logs = os.path.join(str(self.path()), "./test_dir.tar") test_logs = os.path.join(str(self.path()), "./test_dir.tar.gz")
self._compress_logs("{}/tests/integration".format(repo_path), test_logs) self._compress_logs("{}/tests/integration".format(repo_path), test_logs)
logging.info("Compression finished") logging.info("Compression finished")