Skip to content

Commit 298ab8b

Browse files
committed
Revert "test: fix flaky test_env_arg_ignore_signal_valid_signals timing issue"
This reverts commit 31069b9.
1 parent 31069b9 commit 298ab8b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/by-util/test_env.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,7 @@ impl Target {
4848
.spawn()
4949
.expect("failed to send signal")
5050
.wait();
51-
// Give the process time to handle the signal and exit
52-
// Use a longer delay with retries to handle slower systems
53-
for _ in 0..50 {
54-
self.child.delay(10);
55-
if !self.child.is_alive() {
56-
break;
57-
}
58-
}
51+
self.child.delay(100);
5952
}
6053
fn is_alive(&mut self) -> bool {
6154
self.child.is_alive()

0 commit comments

Comments
 (0)