mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
timer: fix loom test (#2346)
Fixes a test from a PR that was written before the recent loom upgrade. A change in the details how loom executes models resulted in the test to start failing. The fix is to reduce the number of iterations performed by the test.
This commit is contained in:
parent
3fb213a861
commit
f2005a78ca
@ -15,7 +15,7 @@ impl Unpark for MockUnpark {
|
||||
|
||||
#[test]
|
||||
fn balanced_incr_and_decr() {
|
||||
const OPS: usize = 100;
|
||||
const OPS: usize = 5;
|
||||
|
||||
fn incr(inner: Arc<Inner>) {
|
||||
for _ in 0..OPS {
|
||||
|
Loading…
x
Reference in New Issue
Block a user