Report VPN fabric stream cleanup

This commit is contained in:
2026-05-16 12:30:49 +03:00
parent da59de7042
commit bbd9f8c257
3 changed files with 42 additions and 4 deletions
@@ -311,6 +311,10 @@ func TestFabricSessionPacketTransportClosesAllStreamShards(t *testing.T) {
t.Fatalf("stream %d was not closed; frames=%+v", streamID, sender.frames)
}
}
snapshot := transport.Snapshot()
if snapshot["close_stream_frames"] != uint64(5) || snapshot["close_errors"] != uint64(0) {
t.Fatalf("unexpected close counters: %+v", snapshot)
}
}
func TestFabricSessionPacketTransportRunFrameIngressDeliversInbox(t *testing.T) {