mirror of
https://github.com/freemkv/libfreemkv.git
synced 2026-10-07 18:13:10 +00:00
test(flush): widen chunk_halves_on_slow_flush timing (20ms slow bound flaked under CI load)
This commit is contained in:
@@ -321,7 +321,7 @@ fn chunk_halves_on_slow_flush() {
|
||||
let ops = Arc::new(FakeFlushOps {
|
||||
chunk_delay: Some(Box::new(|i| {
|
||||
if i >= 2 {
|
||||
Duration::from_millis(40)
|
||||
Duration::from_millis(400)
|
||||
} else {
|
||||
Duration::ZERO
|
||||
}
|
||||
@@ -329,7 +329,7 @@ fn chunk_halves_on_slow_flush() {
|
||||
..FakeFlushOps::default()
|
||||
});
|
||||
let t = FlushTiming {
|
||||
slow_chunk: Duration::from_millis(20),
|
||||
slow_chunk: Duration::from_millis(200),
|
||||
chunk_min: K,
|
||||
chunk_max: 4 * K,
|
||||
..timing(Duration::from_secs(30))
|
||||
|
||||
Reference in New Issue
Block a user