Browse Source

Remove sleep from test case

The underflow did also occur without the letting the write thread sleep.
fix-consumer-skip-integer-overflow
Andreas Linz 3 years ago
parent
commit
5137ed7293
Signed by: alinz GPG Key ID: 9BF39809C9DA580C
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      tests/threads.rs

+ 0
- 1
tests/threads.rs View File

@ -75,7 +75,6 @@ fn test_threads_count_underflow() {
thread::spawn(move || for _ in 0..ITERATIONS {
producer.write_blocking(&in_data).unwrap();
thread::sleep(::std::time::Duration::from_millis(1));
});
for _ in 0..ITERATIONS {

Loading…
Cancel
Save