mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-18 16:04:57 +00:00
RESERVED is process-wide. Under cargo test (the FreeBSD job) the module's tests run on threads of one process, so an_operation_that_fits_alone_waits_for_a_concurrent_one's reservation could land between reservations_are_bounded_and_returned's before and after counts (left: 434166548, right: 0). nextest on Linux gives each test its own process, which hid it. Locally the unfixed module failed 15 of 40 runs, the fixed one 0 of 40.