Skip to content

Commit

Permalink
Merge pull request #1124 from NordSecurity/LLT-5951-macos-stun-flaky-…
Browse files Browse the repository at this point in the history
…unit-test

Allow for more time in await_timout for tests
  • Loading branch information
tomaszklak authored Feb 14, 2025
2 parents 4370150 + 5bf7696 commit e24c145
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion crates/telio-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ macro_rules! await_timeout {
($s:expr) => {
tokio::select! {
v = $s => { v }
_ = tokio::time::sleep(std::time::Duration::from_millis(100)) => { panic!("await took too long") }
_ = tokio::time::sleep(std::time::Duration::from_millis(500)) => { panic!("await took too long") }
}
};
}
Expand Down

0 comments on commit e24c145

Please sign in to comment.