Skip to content

Commit

Permalink
more panics
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Aug 22, 2024
1 parent 7197b66 commit 07bcb2d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/end-to-end.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ fn end_to_end_test() {
}
// Safety feature against configuration errors.
if undelayed_call_count >= 200 {
println!("Source handler state machine possible in permanent loop");
thread::sleep(Duration::from_millis(100));
panic!("Source handler state machine possible in permanent loop");
}
}
});
Expand Down Expand Up @@ -317,8 +316,7 @@ fn end_to_end_test() {
}
// Safety feature against configuration errors.
if undelayed_call_count >= 200 {
println!("Source handler state machine possible in permanent loop");
thread::sleep(Duration::from_millis(100));
panic!("Destination handler state machine possible in permanent loop");
}
}
});
Expand Down

0 comments on commit 07bcb2d

Please sign in to comment.