Ack Cut 1 tests: ordered delivery is held only behind a missing sequence
P1, P1b and P6 as asserting tests in Rust, C#, TypeScript and Python, plus the handshake-seeded watermark, duplicate and reset rules. They fail on the per-channel next pointer and pass on one contiguous watermark. The three tests that fed the receiver an impossible handshake (an Accept at sequence 91 for data that starts at 1) now use a real Connect and Accept, and the Rust channel-bound test holds its frames behind a gap. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ce0d61fc71
commit
b25effebe4
7 changed files with 488 additions and 47 deletions
|
|
@ -1032,8 +1032,8 @@ namespace GameCult.Networking.Tests
|
|||
ConnectionId = 123,
|
||||
InitialSequence = 100
|
||||
});
|
||||
sender.Receive(new CultNetRudpPacket { PacketType = CultNetRudpPacketType.Accept, ConnectionId = 123, Sequence = 90, ChannelId = "control" });
|
||||
receiver.Receive(new CultNetRudpPacket { PacketType = CultNetRudpPacketType.Accept, ConnectionId = 123, Sequence = 91, ChannelId = "control" });
|
||||
var accept = receiver.AcceptConnect(sender.CreateConnect(0), 0);
|
||||
sender.Receive(accept);
|
||||
|
||||
var first = sender.Send("schema", Encoding.UTF8.GetBytes("first"), new CultNetRudpSendOptions { Reliable = true, Ordered = true });
|
||||
var second = sender.Send("schema", Encoding.UTF8.GetBytes("second"), new CultNetRudpSendOptions { Reliable = true, Ordered = true });
|
||||
|
|
|
|||
Loading…
Reference in a new issue