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

system-tests: Prevent out of order prints to stderr #34

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

sysheap
Copy link
Owner

@sysheap sysheap commented Dec 29, 2024

If we get a new tokio::io::stderr() every time the output can be scrambled because multiple threads try to output it at the same time.

Therefore, only use one stderr instance to keep the output in order.

If we get a new tokio::io::stderr() every time the output can be
scrambled because multiple threads try to output it at the same time.

Therefore, only use one stderr instance to keep the output in order.
@sysheap sysheap force-pushed the prevent-test-output-scrambling branch from 1f39fb5 to 4a93197 Compare December 29, 2024 08:50
@sysheap sysheap merged commit bfe8cb1 into main Dec 29, 2024
6 checks passed
@sysheap sysheap deleted the prevent-test-output-scrambling branch December 29, 2024 09:01
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.

1 participant