Summarize VPN fabric stream sharding health

This commit is contained in:
2026-05-16 12:24:44 +03:00
parent 9c702613de
commit a5b91113bf
4 changed files with 39 additions and 2 deletions
@@ -290,7 +290,10 @@ func smokeFabricVPNPacketOverSession(ctx context.Context, fabricSession *mesh.Fa
snapshot := transport.Snapshot()
framesByClass, _ := snapshot["send_frames_by_class"].(map[string]uint64)
sharded := framesByClass[vpnruntime.FabricTrafficClassInteractive] == 1 &&
framesByClass[vpnruntime.FabricTrafficClassBulk] == 1
framesByClass[vpnruntime.FabricTrafficClassBulk] == 1 &&
snapshot["sharding_active"] == true &&
snapshot["send_class_count"] == 2 &&
snapshot["send_stream_count"] == 2
return true, sharded, nil
}
}