Closed lucab closed 1 year ago
And I thought this crate had to do the tests on a single thread. Turns out it was the tokio-uring crate were we limited it to a single thread for reasons like this. In that crate, we added a .cargo/config.toml file to set the test threads to 1.
Thanks for the fix!
This tweaks the socket opcode test in order to relax FD assertions. Checking for exact FD number can race when other threads are also opening/closing FDs, so just perform non-exact sanity checks instead.
Closes: https://github.com/tokio-rs/io-uring/issues/208