jstemmer / go-junit-report

Convert Go test output to JUnit XML
MIT License
776 stars 224 forks source link

False Failed reports for go test with -cpu flags #54

Closed sergeyfd closed 7 years ago

sergeyfd commented 7 years ago

When we use go test -v -cpu 1,2,4 command which makes tests to run three times with the different GOMAXPROCS settings go-junit-report generates lots of false Failed tests in the xml report.

jstemmer commented 7 years ago

Thanks for reporting this issue. It sounds like this is an example of tests appearing multiple times with the same name as originally mentioned in PR #53. The fix should be fairly simple.

sergeyfd commented 7 years ago

Thanks for fixing it. I checked it out and it works all right.