mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-16 10:11:14 -03:00
Unlimited concurrency frequently makes system tests fail when when run as "tests/test_driver.py" or "cargo xtask check". Add a workaround until we fix them. Use $(nproc), which is already the default for RUST_TEST_THREADS and CARGO_BUILD_JOBS, and it works pretty reliably on my laptop. It's possible that we can increase it a bit to make it faster, but until the tests are improved, we can't increase it much without risking failures. Ref: https://github.com/fish-shell/fish-shell/pull/12292#discussion_r2713370474 Tracking issue: #11815