Skip to content

Commit

Permalink
Add a timeout to prevent test from taking forever
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Nov 19, 2023
1 parent c386146 commit fc7bdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/base/orchestrator/src/coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,7 @@ mod tests {
.unwrap();

// Wait for some output before killing
let early_stdout = stdout_rx.recv().await.unwrap();
let early_stdout = stdout_rx.recv().with_timeout().await.unwrap();

token.cancel();

Expand Down

0 comments on commit fc7bdb7

Please sign in to comment.