From 5c42ae077490e072e8e706c4414d80b990df58c0 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 13 Oct 2021 14:56:04 +0200 Subject: [PATCH] change LXC_NAME to WORKER_ID for logs and results --- lib/tests_coordination.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests_coordination.sh b/lib/tests_coordination.sh index 9861f03..70d748c 100644 --- a/lib/tests_coordination.sh +++ b/lib/tests_coordination.sh @@ -4,7 +4,7 @@ source lib/lxc.sh source lib/tests.sh source lib/witness.sh -readonly complete_log="./Complete-${LXC_NAME}.log" +readonly complete_log="./Complete-${WORKER_ID}.log" # Purge some log files rm -f "$complete_log" && touch "$complete_log" @@ -295,7 +295,7 @@ run_all_tests() { # Print the final results of the tests log_title "Tests summary" - python3 lib/analyze_test_results.py $TEST_CONTEXT 2> ./results-${LXC_NAME}.json + python3 lib/analyze_test_results.py $TEST_CONTEXT 2> ./results-${WORKER_ID}.json [[ -e "$TEST_CONTEXT/summary.png" ]] && cp "$TEST_CONTEXT/summary.png" ./summary.png || rm -f summary.png # Restore the started time for the timer