Skip to content

Commit

Permalink
tests: avoid ICE in beta
Browse files Browse the repository at this point in the history
  • Loading branch information
djc authored and Ralith committed Jan 10, 2025
1 parent 3c3d460 commit 6bfd248
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions quinn-proto/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1635,10 +1635,14 @@ fn cid_retirement() {
pair.drive();
assert!(!pair.client_conn_mut(client_ch).is_closed());
assert!(!pair.server_conn_mut(server_ch).is_closed());
assert_matches!(
pair.client_conn_mut(client_ch).active_rem_cid_seq(),
_next_retire_prior_to
);

#[allow(unreachable_patterns)] // https://github.com/rust-lang/rust/issues/135289
{
assert_matches!(
pair.client_conn_mut(client_ch).active_rem_cid_seq(),
_next_retire_prior_to
);
}
}

#[test]
Expand Down

0 comments on commit 6bfd248

Please sign in to comment.