New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing: parallel test output reported in non-deterministic order #26440

Open
rsc opened this Issue Jul 18, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@rsc
Contributor

rsc commented Jul 18, 2018

I have a test with parallel subtests. A few are failing. Every time I run the test, the failures come out in a different order, presumably depending on which ones finish first. This makes it hard to see at a glance what is different each time I make a tweak and re-run the tests.

Given that we're saving up the output to print at the end of the test anyway, we should also arrange to order the test results - at least all the parallel ones - in the order they started, not the order they finished.

/cc @mpvl

@rsc rsc added this to the Go1.12 milestone Jul 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment