Skip to content

Fix a race condition between remove_from_env and other io::process tests. #17739

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

Merged
merged 1 commit into from
Oct 3, 2014

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Oct 3, 2014

No description provided.

@eddyb
Copy link
Member Author

eddyb commented Oct 3, 2014

cc @alexcrichton

@alexcrichton
Copy link
Member

Aha, that would indeed cause the flakiness we're seeing, nice find!

Can you move this test to a run-pass test so it can run in isolation? That should remove the race completely.

@eddyb eddyb force-pushed the fix-process-test branch from e0a690f to ef69388 Compare October 3, 2014 14:18
@eddyb eddyb changed the title Reduce the chances of a race condition within io::process tests. Fix a race condition between remove_from_env and other io::process tests. Oct 3, 2014
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Oct 3, 2014
@bors bors merged commit ef69388 into rust-lang:master Oct 3, 2014
@eddyb eddyb deleted the fix-process-test branch October 4, 2014 05:18
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Aug 1, 2024
minor: Set tracing level to debug when `cargo config get env` fails

fixes rust-lang#17739
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.

3 participants