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.
This commit is contained in:
mattsu
2026-03-10 13:27:54 +01:00
committed by GitHub
parent 36b5e59329
commit 88219aafe9
+2 -2
View File
@@ -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();