Skip to content

Commit 5ebe50a

Browse files
shskwmtsylvestre
authored andcommitted
rm: Increase delay time in test_uchild_when_run_no_wait
- Removed platform-specific branching for the `delay` variable - Increased delay time to address insufficient wait periods during test execution
1 parent c013fbf commit 5ebe50a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/by-util/test_rm.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -788,11 +788,7 @@ fn test_uchild_when_run_no_wait_with_a_blocking_command() {
788788
at.mkdir("a");
789789
at.touch("a/empty");
790790

791-
#[cfg(target_vendor = "apple")]
792791
let delay: u64 = 2000;
793-
#[cfg(not(target_vendor = "apple"))]
794-
let delay: u64 = 1000;
795-
796792
let yes = if cfg!(windows) { "y\r\n" } else { "y\n" };
797793

798794
let mut child = ts

0 commit comments

Comments
 (0)