We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4f615b commit 5bf0997Copy full SHA for 5bf0997
src/lib.rs
@@ -468,7 +468,7 @@ mod tests {
468
fn uncontended_concurrent_access() {
469
// We will stress the infrastructure by performing this many writes
470
// as a reader continuously reads the latest value
471
- const TEST_WRITE_COUNT: u64 = 10_000;
+ const TEST_WRITE_COUNT: u64 = 5_000;
472
473
// This is the buffer that our reader and writer will share
474
let buf = ::TripleBuffer::new(0u64);
@@ -482,7 +482,7 @@ mod tests {
482
for value in 1..(TEST_WRITE_COUNT + 1) {
483
buf_input.write(value);
484
thread::yield_now();
485
- thread::sleep(Duration::from_millis(1));
+ thread::sleep(Duration::from_millis(2));
486
}
487
},
488
move || {
0 commit comments