From 6f0c065743e5f5e106fa0acd4cf1f4197836d673 Mon Sep 17 00:00:00 2001 From: anastasia Date: Tue, 7 Sep 2021 14:57:41 +0300 Subject: [PATCH] preserve filediff artifacts in CI --- .circleci/config.yml | 2 +- test_runner/fixtures/zenith_fixtures.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ec7fabf08..219cee6b42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -239,7 +239,7 @@ jobs: when: always command: | du -sh /tmp/test_output/* - find /tmp/test_output -type f ! -name "pg.log" ! -name "pageserver.log" ! -name "wal_acceptor.log" ! -name "regression.diffs" ! -name "junit.xml" -delete + find /tmp/test_output -type f ! -name "pg.log" ! -name "pageserver.log" ! -name "wal_acceptor.log" ! -name "regression.diffs" ! -name "junit.xml" ! -name "*.filediff" -delete du -sh /tmp/test_output/* - store_artifacts: path: /tmp/test_output diff --git a/test_runner/fixtures/zenith_fixtures.py b/test_runner/fixtures/zenith_fixtures.py index 475273c944..029733da6a 100644 --- a/test_runner/fixtures/zenith_fixtures.py +++ b/test_runner/fixtures/zenith_fixtures.py @@ -992,7 +992,7 @@ def check_restored_datadir_content(zenith_cli, test_output_dir, pg): f1 = os.path.join(pg.pgdata_dir, f) f2 = os.path.join(restored_dir_path, f) - stdout_filename = "{}.diff".format(f2) + stdout_filename = "{}.filediff".format(f2) with open(stdout_filename, 'w') as stdout_f: subprocess.run("xxd -b {} > {}.hex ".format(f1, f1), shell=True)