Skip to content

Commit

Permalink
fix: packet loss test
Browse files Browse the repository at this point in the history
  • Loading branch information
asvol committed Mar 2, 2024
1 parent 2ab4c1d commit eb6bd3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public async Task Client_Call_Command_Long_And_Server_Catch_It_With_Packet_Loss(
{
int cnt = 0;
// Emulation of packet loss
var link = new VirtualMavlinkConnection(_=> ++cnt>3);
var link = new VirtualMavlinkConnection(_=> ++cnt>=3);
var client = CreateCommandClient(link, out var clientId);
var server = CreateCommandServer(link, clientId);

Expand Down

0 comments on commit eb6bd3a

Please sign in to comment.