Repository navigation
ci: print each test as it runs in the Cloud Tests workflow - #3503
Merged
Merged
Conversation
The Cloud Tests jobs hit the 20-minute timeout with no test output in the log: Surefire/Failsafe report the TestNG run as one test set, and the test output goes to target/*-reports. - pom.xml: add the testng.verbose property (default 0, the Surefire default) for surefire.testng.verbose, and make redirectTestOutputToFile overridable with maven.test.redirectTestOutputToFile (default true). - cloud.yml: run with -Dtestng.verbose=5, so that TestNG's VerboseReporter prints each test as it starts and finishes, with full stack traces, and with -Dmaven.test.redirectTestOutputToFile=false. Refs #3502 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI review gate — auto-approved
History (latest 5 heads, newest first)
|
Client V2 CoverageCoverage Report
Class Coverage
|
JDBC V2 CoverageCoverage Report
Class Coverage
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cloud Tests jobs time out with no test output in the log (#3502). This makes the workflow print each test as it starts and finishes, using TestNG's built-in
VerboseReporter:pom.xml: newtestng.verboseproperty, passed to Surefire and Failsafe assurefire.testng.verbose(default0, Surefire's own default).redirectTestOutputToFilecan now be overridden with-Dmaven.test.redirectTestOutputToFile(defaulttrue). Default builds are unchanged.cloud.yml: runs with-Dtestng.verbose=5 -Dmaven.test.redirectTestOutputToFile=false.Output at level 5:
Failures print the full stack trace with causes. With the redirect off, all test logs also go to the console.
Closes #3502
Checklist
SettingsTestswith level 5 (live lines) and with defaults (no change); clickhouse-r2dbc (JUnit) with defaults; jdbc-v2 effective POM gets the value.🤖 Generated with Claude Code
Note
Low Risk
Changes are limited to CI workflow flags and Maven test plugin configuration; default build and test behavior outside Cloud CI is unchanged.
Overview
Cloud test jobs can hit the timeout with almost no per-test output in GitHub logs (#3502). This PR makes that workflow stream live test progress to the console.
pom.xmladds overridable properties:testng.verbose(default0) wired into Surefire/Failsafe assurefire.testng.verbose, andmaven.test.redirectTestOutputToFile(defaulttrue) replacing the previous hard-coded redirect. Local/default Maven runs behave the same unless those flags are set.cloud.ymlrunsverifywith-Dtestng.verbose=5and-Dmaven.test.redirectTestOutputToFile=false, so TestNG’s VerboseReporter logs each test start/finish (and failures with stack traces) directly in the Actions log instead of only undertarget/*-reports.Reviewed by Cursor Bugbot for commit 46f24e3. Bugbot is set up for automated code reviews on this repo. Configure here.