Skip to content

Commit

Permalink
increase timeout for Sniffer::wait_for_message_type
Browse files Browse the repository at this point in the history
  • Loading branch information
plebhash committed Dec 11, 2024
1 parent 2c11ff4 commit e572d4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roles/tests-integration/tests/common/sniffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,10 @@ impl Sniffer {
if has_message_type {
return;
}
if now.elapsed().as_secs() > 15 {

// 10 min timeout
// only for worst case, ideally should never be triggered
if now.elapsed().as_secs() > 10*60 {
panic!("Timeout waiting for message type");
}
}
Expand Down

0 comments on commit e572d4d

Please sign in to comment.