| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-17 | library: Increase timeout on mpmc test to reduce flakes | Jubilee Young | -2/+2 | |
| This recently spuriously failed in a rollup, so I think we can afford to increase the base timeout and the amount of time slept for to provide a much wider margin for the timeout to be reached. | ||||
| 2025-06-08 | Avoid a gratuitous 10s wait in a stress test | Josh Triplett | -3/+8 | |
| `stress_recv_timeout_two_threads`, in the mpmc and mpsc testsuites, is a stress test of the `recv_timeout` function. This test processes and ignores timeouts, and just ensures that every sent value gets received. As such, the exact length of the timeouts is not critical, only that the timeout and sleep durations ensure that at least one timeout occurred. The current tests have 100 iterations, half of which sleep for 200ms, causing the test to take 10s. This represents around 2/3rds of the *total* runtime of the `library/std` testsuite. Reduce this to 50 iterations where half of them sleep for 10ms, causing the test to take 0.25s. Add a check that at least one timeout occurred. | ||||
| 2025-04-15 | Basic tests of MPMC receiver cloning | Glyn Normington | -0/+30 | |
| Ref: https://github.com/rust-lang/rust/issues/126840#issuecomment-2802321146 | ||||
| 2025-01-26 | Move std::sync unit tests to integration tests | bjorn3 | -0/+729 | |
| This removes two minor OnceLock tests which test private methods. The rest of the tests should be more than enough to catch mistakes in those private methods. Also makes ReentrantLock::try_lock public. And finally it makes the mpmc tests actually run. | ||||
