Files
tasks/tools/testrunner/testdata/junit-alert-data-race.xml
Stephan BehnkeandGitHub e578494496 JUnit summary with failures (#9912)
## What changed?

Add failure details per test to GitHub summary view.

## Why?

Avoid digging through logs.

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

**Example**:

<img width="1193" height="644" alt="Screenshot 2026-04-13 at 1 58 43 PM"
src="https://github.com/user-attachments/assets/9743dba8-7e66-42c9-a877-240e36d7b9b9"
/>

https://github.com/temporalio/temporal/actions/runs/24366106128?pr=9912
2026-04-16 16:16:57 +00:00

15 lines
529 B
XML

<testsuites tests="1" failures="1">
<testsuite name="ALERTS" tests="1" failures="1" errors="0" id="0" time="">
<testcase name="DATA RACE: Data race detected in TestFoo">
<failure message="DATA RACE" type="DATA RACE"><![CDATA[WARNING: DATA RACE
Write at 0x00c000123456 by goroutine 7:
main.TestFoo()
/path/to/foo_test.go:42 +0x123
Previous read at 0x00c000123456 by goroutine 8:
main.TestFoo()
/path/to/foo_test.go:43 +0x456]]></failure>
</testcase>
</testsuite>
</testsuites>