Skip to content
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
Open

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

rsc opened this issue Jul 18, 2018 · 0 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@rsc
Copy link
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
@FiloSottile FiloSottile added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 19, 2018
@andybons andybons modified the milestones: Go1.12, Go1.13 Feb 12, 2019
@andybons andybons modified the milestones: Go1.13, Go1.14 Jul 8, 2019
@rsc rsc modified the milestones: Go1.14, Backlog Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants