vector icon indicating copy to clipboard operation
vector copied to clipboard

Fix vanila `cargo test` failures

Open pront opened this issue 1 year ago • 0 comments

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

Running tests with the standard test runner i.e. cargo test results in failures. However, tests pass consistently with cargo vdev test.

Configuration

N/A

Version

0.41.1

Debug Output

test result: FAILED. 944 passed; 658 failed; 3 ignored; 0 measured; 0 filtered out; finished in 29.27s

Example Data

N/A

Additional Context

This is not surprising given the differences in execution models: How nextest works. For example: the OnceCell<Telemetry> variable is not thread local, so the second attempt to set it -from the same process- will always fail.

References

No response

pront avatar Oct 11 '24 18:10 pront