-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Decouple number of concurrent tests from RUST_THREADS env var #7335
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
Comments
Where were you imagining the env would load Unless I'm mistaken, the result of that environmental setting gets loaded for both tests and non-tests when creating the scheduler at https://github.com/mozilla/rust/blob/master/src/rt/rust_kernel.cpp#L49 so not sure if there is a cleaner place to add in the test-specific env stuff, or if it belongs in |
I don't think that is quite right though, as if you specify RUST_TEST_TASKS=X RUST_THREADS=Y it will start the scheduler with X even if you aren't running tests. Hmm. |
@vijaykramesh sorry for the delayed response. I would put a call to |
Triage: will be fixed when #8823 lands. |
Currently the test runner will adjust the number of tests run concurrently based on
RUST_THREADS
. I don't think this coupling really makes sense and we should instead useRUST_TEST_TASKS
.The text was updated successfully, but these errors were encountered: