From 435984713a9cddec2c0a24b0a71a964b23d49bd3 Mon Sep 17 00:00:00 2001 From: Jan Scheer Date: Thu, 9 Jun 2022 18:42:27 +0200 Subject: [PATCH] test_tail: increase delay for test_follow_name_move_create2 Increase delay for this test to be more resillient against load-jitter on the CI test VMs. --- tests/by-util/test_tail.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index 3b809114f..2f8ca4a78 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -1877,10 +1877,10 @@ fn test_follow_name_move_create2() { "9", ]; - let delay = 300; + let mut delay = 500; for _ in 0..2 { let mut p = ts.ucmd().set_stdin(Stdio::null()).args(&args).run_no_wait(); - sleep(Duration::from_millis(100)); + sleep(Duration::from_millis(delay)); at.truncate("9", "x\n"); sleep(Duration::from_millis(delay)); @@ -1916,6 +1916,7 @@ fn test_follow_name_move_create2() { at.remove("f"); args.push("---disable-inotify"); + delay = 2000; } }