From 46239c39bb7d22d99272d722a4eeab82937ed881 Mon Sep 17 00:00:00 2001 From: "Wojtek.Swieton" Date: Tue, 6 Feb 2024 13:03:41 +0100 Subject: [PATCH] ACS-6309 Check db and tas tests ags on MySQL ags add listeners --- packaging/tests/scripts/output_logs_for_failures.sh | 4 ++++ packaging/tests/tas-integration/pom.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/tests/scripts/output_logs_for_failures.sh b/packaging/tests/scripts/output_logs_for_failures.sh index 4fb71d2050e..4d1061d1036 100755 --- a/packaging/tests/scripts/output_logs_for_failures.sh +++ b/packaging/tests/scripts/output_logs_for_failures.sh @@ -4,6 +4,10 @@ TAS_DIRECTORY=$1 cd ${TAS_DIRECTORY} +# Add command to list all files in /target directory +echo "Listing all files in /target directory:" +ls -l target/ + failures=$(grep 'status="FAIL"' target/surefire-reports/testng-results.xml | sed 's|^.*[ ]name="\([^"]*\)".*$|\1|g') for failure in ${failures} diff --git a/packaging/tests/tas-integration/pom.xml b/packaging/tests/tas-integration/pom.xml index c1d26340db3..917f9d3e7fc 100644 --- a/packaging/tests/tas-integration/pom.xml +++ b/packaging/tests/tas-integration/pom.xml @@ -117,7 +117,7 @@ --illegal-access=warn - + --add-opens=java.base/java.lang=ALL-UNNAMED