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

chore: fix flaky integration::test::pass test #14571

Merged
merged 1 commit into from
May 11, 2022

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented May 11, 2022

The test output for stdout and stderr gets collected on two separate threads via pipes. Which thread wakes up first (even with flushing) can be somewhat random especially on the CI where there are only two cores.

In order to make this less random, I separated out the stdout and stderr outputs to two separate test steps.

Closes #14570

@dsherret dsherret merged commit e6142fa into denoland:main May 11, 2022
@dsherret dsherret deleted the fix_flaky_tests_pass branch May 11, 2022 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test integration::test::pass is flaky
2 participants