Closed decathorpe closed 3 months ago
I can try running tests single-threaded if that helps?
I'll bet it will -- I suspect the reason is that the doc tests are compiled as separate binaries, so they're not sharing the static ID
counter, but if they run in parallel they'll probably clobber each other.
The doc tests are not very interesting anyway, so I think you'd also be fine with cargo test --lib --tests
.
I'll try that, thanks!
Looks like running tests with a single thread solves the issue 👍🏼
Fedora package builds since v1.2.0 was released have been very unreliable. The test suite seems to fail in roughly 20% of test runs with various wild error messages, particularly from doctests:
I have seen failures like this now on x86_64, ppc64le, and s390x, so it does not appear to be architecture-specific, but more likely a race condition.
I can try running tests single-threaded if that helps?