From 88219aafe977f4a962f58a143b33e7d80d6ed457 Mon Sep 17 00:00:00 2001 From: mattsu <35655889+mattsu2020@users.noreply.github.com> Date: Tue, 10 Mar 2026 21:27:54 +0900 Subject: [PATCH] fix(tail): increase retry delay and sleep interval for flaky test (#11278) Increases the retry delay from 100ms to 400ms and sleep interval from 0.1s to 0.2s in test_retry9 to address flaky test behavior caused by timing sensitivity. --- tests/by-util/test_tail.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index d2e601cd9..c7c2a0bcd 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -1721,14 +1721,14 @@ fn test_retry9() { ); let expected_stdout = "foo\nbar\nfoo\nbar\n"; - let delay = 100; + let delay = 400; at.mkdir(parent_dir); at.truncate(user_path, "foo\n"); let mut p = ts .ucmd() .arg("-F") - .arg("-s.1") + .arg("-s.2") .arg("--max-unchanged-stats=1") .arg(user_path) .run_no_wait();