We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31069b9 commit 298ab8bCopy full SHA for 298ab8b
tests/by-util/test_env.rs
@@ -48,14 +48,7 @@ impl Target {
48
.spawn()
49
.expect("failed to send signal")
50
.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
+ self.child.delay(100);
59
}
60
fn is_alive(&mut self) -> bool {
61
self.child.is_alive()
0 commit comments