Closed dmayo3 closed 2 years ago
I'm not sure how we could attribute the output to the correct test with this specific kind of output. Fortunately, I think this is no longer an issue as Go test output uses RUN
, PAUSE
and CONT
lines when switching between tests. Feel free to reopen if this can still be reproduced with a recent Go version (not hand-crafted).
I've been having issues with test suites that are run in parallel and repeated, the relevant test output seems to get lost or mixed up.
This minimal (hand-crafted) example seems to demonstrate the issue:
This produces the following output with no failure message output:
The problem goes away if I either give the tests unique names (as if they weren't repeated) or I change the
RUN
lines so as to not be interleaved (as if it weren't in parallel).