cultnet-rs: the reconnect test expects the Accept to have acknowledged the new Connect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
29f8bf575e
commit
c412eed066
1 changed files with 3 additions and 2 deletions
|
|
@ -680,8 +680,9 @@ fn a_receipt_invalidated_by_a_peer_disconnect_never_becomes_acknowledged() -> Re
|
|||
CultNetRudpReliableSendStatus::Invalidated,
|
||||
"the old session's write was acknowledged in the new session"
|
||||
);
|
||||
// The old write is not retransmitted into the new session either.
|
||||
assert_eq!(client.outstanding_reliable_packet_count(), 1, "only the reconnect's own Connect is outstanding");
|
||||
// The old write is not retransmitted into the new session either: the
|
||||
// Accept acknowledged the reconnect's Connect, and nothing else is owed.
|
||||
assert_eq!(client.outstanding_reliable_packet_count(), 0, "the old write survived into the new session");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue