Skip to content

Commit

Permalink
Sigh
Browse files Browse the repository at this point in the history
Guess cloudbuild doesn't set this
  • Loading branch information
Jake-Shadle committed Feb 29, 2024
1 parent 6463837 commit e0d7eb9
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,17 +523,10 @@ mod tests {

assert_eq!(
"hello",
timeout(
Duration::from_millis(if std::env::var_os("CI").is_some() {
5000
} else {
100
}),
rx.recv()
)
.await
.expect("should have received a packet")
.unwrap()
timeout(Duration::from_millis(5000), rx.recv())
.await
.expect("should have received a packet")
.unwrap()
);

tracing::info!(%token, "received packet");
Expand Down

0 comments on commit e0d7eb9

Please sign in to comment.