Run tests in processes rather than threads with `cargo nextest`
Closed this issue · 2 comments
SteveLauC commented
Some tests modify process-wide stuff like signal handler, so we use these locks
Lines 63 to 80 in 70f8fe0
to sequentialize them, TIL that cargo nextest
will run tests in processes rather than threads, perhaps this can help us get rid of these locks and potentially fixes some weird test failures.
asomers commented
cargo-nextest is cool, but I don't think that we should rely on it. Even if we use it during CI, we should also ensure that "cargo test" works too.
SteveLauC commented
we should also ensure that "cargo test" works too.
Makes sense, closing the issue.