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

Avoid inheriting stderr in SelectiveExecutionTests.scala to prevent flakiness from leaked processes #4581

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Feb 18, 2025

Currently, the inherited stderr can remain open even as the spawned processes are killed, causing the test to hang on waiting for the stderr to close. This avoids inheriting stderr, so once the spawned processes dies the test can terminate cleanly

@lihaoyi lihaoyi merged commit c3ec8da into main Feb 18, 2025
30 of 31 checks passed
@lihaoyi lihaoyi deleted the lihaoyi-patch-2 branch February 18, 2025 12:16
@lefou lefou added this to the 0.13.0 milestone Feb 21, 2025
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.

2 participants