From 6276e8a04068edd4be0a487117e32431c4fdb304 Mon Sep 17 00:00:00 2001 From: Slach Date: Thu, 21 Nov 2024 16:20:35 +0400 Subject: [PATCH] fix for test_keeper.py --- .github/workflows/run_tests.yaml | 4 ++-- tests/e2e/test_keeper.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 26c002c89..7ca430fc9 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -105,7 +105,7 @@ jobs: for test_file in ./tests/e2e/test_operator*.py; do name=$(basename "$test_file" .py | sed 's/^test_//') run_cmd="~/venv/qa/bin/python3 ./tests/regression.py --only=/regression/e2e?test_${name}/${ONLY} $test_mode --trim-results on -o short --native --log ./tests/raw_${name}.log && " - run_cmd+="~/venv/qa/bin/tfs --no-colors transform compact ./tests/raw_${name}.log ./tests/compact_${name}.log && " + run_cmd+="~/venv/qa/bin/tfs --no-colors transform compact ./tests/raw_${name}.log ./tests/compact_${name}.log.txt && " run_cmd+="~/venv/qa/bin/tfs --no-colors transform nice ./tests/raw_${name}.log ./tests/nice_${name}.log.txt && " run_cmd+="~/venv/qa/bin/tfs --no-colors transform short ./tests/raw_${name}.log ./tests/short_${name}.log.txt && " run_cmd+="bash -xec '~/venv/qa/bin/tfs --no-colors report results -a '${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/' ./tests/raw_${name}.log - --confidential --copyright 'Altinity Inc.' --logo ./tests/altinity.png | ~/venv/qa/bin/tfs --debug --no-colors document convert > ./tests/report_${name}.html'" @@ -134,7 +134,7 @@ jobs: with: name: testflows-report path: | - tests/*report.html + tests/*_report.html if-no-files-found: error retention-days: 90 diff --git a/tests/e2e/test_keeper.py b/tests/e2e/test_keeper.py index dbe3d2730..bb83f651f 100644 --- a/tests/e2e/test_keeper.py +++ b/tests/e2e/test_keeper.py @@ -169,6 +169,8 @@ def start_stop_zk_and_clickhouse(chi_name, ch_stop, keeper_replica_count, keeper keeper_manifest = f"../../deploy/zookeeper/zookeeper-manually/quick-start-persistent-volume/{keeper_manifest}" if keeper_type == "clickhouse-keeper": keeper_manifest = f"../../deploy/clickhouse-keeper/clickhouse-keeper-manually/{keeper_manifest}" + if keeper_type == "clickhouse-keeper_with_chk": + keeper_manifest = f"../../deploy/clickhouse-keeper/clickhouse-keeper-with-CHK-resource/{keeper_manifest}" if keeper_type == "zookeeper-operator": keeper_manifest = f"../../deploy/zookeeper/zookeeper-with-zookeeper-operator/{keeper_manifest}"