Files
tasks/tools/testrunner/testdata/junit-alerts-output.xml
Sean KaneandGitHub 41877e16f1 fix(testrunner): omit failure Details to maintain xml formatting (#8382)
## What changed?
Removes the full test failure from the `Details` portion of a
`junit.Result` which was breaking XML formatting.

## Why?
Breaks our flaky test analysis

## How did you test it?
- [ ] built
- [X] run locally and tested manually
- [x] covered by existing tests
- [x] added new unit test(s)
- [ ] added new functional test(s)

## Potential risks
Flaky tests reporting could be breaking again.
2025-09-25 12:53:09 -06:00

12 lines
632 B
XML

<testsuites tests="2" failures="2">
<testsuite name="ALERTS" tests="2" failures="2" errors="0" id="0" time="">
<testcase name="DATA RACE: Data race detected — in go.temporal.io/server/tools/testrunner.TestShowPanic" classname="">
<failure message="DATA RACE"><![CDATA[Detected in tests:
go.temporal.io/server/tools/testrunner.TestShowPanic]]></failure>
</testcase>
<testcase name="PANIC: This is a panic — in TestPanicExample" classname="">
<failure message="PANIC"><![CDATA[Detected in tests:
TestPanicExample]]></failure>
</testcase>
</testsuite>
</testsuites>