Smoke test mixed VPN fabric batches

This commit is contained in:
2026-05-16 12:34:36 +03:00
parent bd70ca6342
commit 09fc6ac659
2 changed files with 3 additions and 4 deletions
@@ -272,10 +272,7 @@ func smokeFabricVPNPacketOverSession(ctx context.Context, fabricSession *mesh.Fa
}
bulkPacket := smokeIPv4TCPPacket([4]byte{10, 77, 0, 2}, [4]byte{192, 168, 200, 95}, 51000, 443, 0)
controlPacket := smokeIPv4TCPPacket([4]byte{10, 77, 0, 2}, [4]byte{192, 168, 200, 95}, 51001, 3389, 0x02)
if err := transport.SendGatewayPacketBatch(ctx, [][]byte{bulkPacket}); err != nil {
return false, false, err
}
if err := transport.SendGatewayPacketBatch(ctx, [][]byte{controlPacket}); err != nil {
if err := transport.SendGatewayPacketBatch(ctx, [][]byte{bulkPacket, controlPacket}); err != nil {
return false, false, err
}
timer := time.NewTimer(3 * time.Second)