Skip to content

Commit

Permalink
tests: increase uri received check timeout to 90s given runner situat…
Browse files Browse the repository at this point in the history
…ion at github
  • Loading branch information
amodm committed Jan 25, 2023
1 parent 0c59b87 commit ab57993
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ where
op(&format!("http://{}:{}{}", host, port, &uri));

// wait for the url to be hit
#[cfg(windows)]
let timeout = 60;
#[cfg(not(windows))]
let timeout = 30;
let timeout = 90;
match rx.recv_timeout(std::time::Duration::from_secs(timeout)) {
Ok(msg) => assert_eq!(decode(&msg).unwrap(), uri),
Err(_) => panic!("failed to receive uri data"),
Expand Down

0 comments on commit ab57993

Please sign in to comment.