diff --git a/.github/workflows/cloud.yml b/.github/workflows/cloud.yml index 99d88326a..c6208d7a1 100644 --- a/.github/workflows/cloud.yml +++ b/.github/workflows/cloud.yml @@ -103,8 +103,12 @@ jobs: "https://$TEST_CLICKHOUSE_HOST:8443/?database=$TEST_DB_NAME&wait_end_of_query=1" \ --data-binary "SELECT 1" - name: Test ${{ matrix.project }} + # TestNG verbosity 5 prints each test as it starts and finishes, and the test output goes to the + # console instead of target/*-reports, so a slow or hanging run shows where it is. run: | - mvn --batch-mode --no-transfer-progress --projects ${{ matrix.project }} -Dprotocol=http -Dmaven.javadoc.skip=true verify + mvn --batch-mode --no-transfer-progress --projects ${{ matrix.project }} -Dprotocol=http -Dmaven.javadoc.skip=true \ + -Dtestng.verbose=5 -Dmaven.test.redirectTestOutputToFile=false \ + verify - name: Cleanup Database Unconditionally if: always() run: | diff --git a/pom.xml b/pom.xml index fbcc3ce00..be57424a6 100644 --- a/pom.xml +++ b/pom.xml @@ -157,6 +157,8 @@ false ${skipTests} ${skipTests} + true + 0 ClickHouse_clickhouse-jdbc ${project.artifactId} @@ -446,7 +448,13 @@ ${skipITs} true false - true + ${maven.test.redirectTestOutputToFile} + + + surefire.testng.verbose + ${testng.verbose} + + @@ -468,7 +476,13 @@ integration ${skipUTs} false - true + ${maven.test.redirectTestOutputToFile} + + + surefire.testng.verbose + ${testng.verbose} + +