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

Parallel benchmark test causes output misalignment #1

Open
juzi5201314 opened this issue Sep 23, 2020 · 0 comments
Open

Parallel benchmark test causes output misalignment #1

juzi5201314 opened this issue Sep 23, 2020 · 0 comments

Comments

@juzi5201314
Copy link
Owner

By default, rust will run tests in parallel, but this will cause the output to be misaligned.

The current solution is to use RUST_TEST_THREADS=1, --test-threads=1 or global mutex lock to limit only one test to run at the same time.

Is there any better way?

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

No branches or pull requests

1 participant