Skip to content

Fix stale api-runs data polluting test report archive counts - #1802

Merged
ashishvijaywargiya merged 1 commit into
apache:trunkfrom
ashishvijaywargiya:fix/test-report-api-runs-and-summary
Aug 28, 2026
Merged

Fix stale api-runs data polluting test report archive counts#1802
ashishvijaywargiya merged 1 commit into
apache:trunkfrom
ashishvijaywargiya:fix/test-report-api-runs-and-summary

Conversation

@ashishvijaywargiya

Copy link
Copy Markdown
Contributor

JUnitXmlCounter and TestReportArchiver recursed into runtime/logs/test-results/api-runs/ when counting and copying results for a gradle-triggered test/testIntegration archive. That directory holds independently-archived API-triggered run results, so its old XML files were getting summed into the current run's manifest.json counts and duplicated into the archived results/ folder. Both now skip that directory.

Also added a console summary line to createTestReport so a run's pass/fail totals are visible without opening the HTML report or reading the raw log.

Added regression tests for the api-runs exclusion in JUnitXmlCounterTest and TestReportArchiverTest.

JUnitXmlCounter and TestReportArchiver recursed into runtime/logs/test-results/api-runs/
when counting and copying results for a gradle-triggered test/testIntegration archive.
That directory holds independently-archived API-triggered run results, so its old XML
files were getting summed into the current run's manifest.json counts and duplicated
into the archived results/ folder. Both now skip that directory.

Also added a console summary line to createTestReport so a run's pass/fail totals are
visible without opening the HTML report or reading the raw log.
@ashishvijaywargiya
ashishvijaywargiya merged commit d16edd0 into apache:trunk Aug 28, 2026
7 checks passed
@ashishvijaywargiya
ashishvijaywargiya deleted the fix/test-report-api-runs-and-summary branch August 28, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant