Skip to content

Commit 44fb0bd

Browse files
committed
Add a timeout to prevent test from taking forever
1 parent 700df49 commit 44fb0bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/base/orchestrator/src/coordinator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ mod tests {
22062206
.unwrap();
22072207

22082208
// Wait for some output before killing
2209-
let early_stdout = stdout_rx.recv().await.unwrap();
2209+
let early_stdout = stdout_rx.recv().with_timeout().await.unwrap();
22102210

22112211
token.cancel();
22122212

0 commit comments

Comments
 (0)