Skip to content

Commit

Permalink
ACS-6309 Check db and tas tests ags on MySQL ags add listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekswieton committed Feb 8, 2024
1 parent 246ebc0 commit 9d9ac5e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
4 changes: 2 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Specify the TestNG suite XML file -->
<suiteXmlFiles>
<!-- <suiteXmlFiles>
<suiteXmlFile>src/test/resources/core-suite.xml</suiteXmlFile>
</suiteXmlFiles>
</suiteXmlFiles> -->
</configuration>
</plugin>
</plugins>
Expand Down
5 changes: 0 additions & 5 deletions core/src/test/resources/core-suite.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="CORESuites" parallel="classes" thread-count="1">
<listeners>
<listener class-name="org.alfresco.utility.report.HtmlReportListener"/>
<listener class-name="org.alfresco.utility.testrail.TestRailExecutorListener"/>
<listener class-name="org.alfresco.utility.testng.OSTestMethodSelector"/>
</listeners>

<test name="CORE Tests">
<packages>
Expand Down
33 changes: 0 additions & 33 deletions packaging/tests/scripts/output_logs_for_failures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ ls -l target/surefire-reports/

echo "" # This adds an empty line for clarity

echo "Print TestSuite-output.txt"
cat "target/surefire-reports/TestSuite-output.txt"

echo "" # This adds an empty line for clarity

echo "Print TestSuite.txt"
cat "target/surefire-reports/TestSuite.txt"

echo "" # This adds an empty line for clarity

echo "Print TestSuite.xml"
cat "target/surefire-reports/TEST-TestSuite.xml"

echo "" # This adds an empty line for clarity

Expand All @@ -54,27 +42,6 @@ ls -l target/surefire-reports/testng-native-results

echo "" # This adds an empty line for clarity

# Add command to list all files in /target/surefire-reports/testng-native-results/Surefire suite directory
echo "Listing all files in /target/surefire-reports/testng-native-results/Surefire suite directory:"
ls -l "target/surefire-reports/testng-native-results/Surefire suite"

echo "" # This adds an empty line for clarity

echo "Print : Surefire test.xml"
cat "target/surefire-reports/testng-native-results/Surefire suite/Surefire test.xml"

echo "" # This adds an empty line for clarity

rm -rf target/surefire-reports/testng-native-results

echo "" # This adds an empty line for clarity

echo "Listing all files in /target/surefire-reports directory:"
ls -l target/surefire-reports

echo "" # This adds an empty line for clarity

rm -rf target/surefire-reports/testng-native-results

failures=$(grep 'status="FAIL"' target/surefire-reports/testng-results.xml | sed 's|^.*[ ]name="\([^"]*\)".*$|\1|g')

Expand Down

0 comments on commit 9d9ac5e

Please sign in to comment.