test(relay): cover real client and gateway sessions
Add a relay-server test that connects the production client-core session and the production gateway session to the same in-process relay. The test verifies room join catch-up, negotiated peer identities, Ethernet datagrams in both directions, stats reporting, and room/session cleanup after graceful shutdown. The existing relay tests covered forwarding with raw Quinn peers. This adds a higher-level proof that the three MVP components agree on the same control and datagram contracts before the final Windows TAP and physical LAN test. Test Plan: - cargo fmt --check - cargo test -p lanparty-relay bridges_real_client_and_gateway_sessions -- --nocapture - cargo test --workspace - cargo clippy --workspace --all-targets -- -D warnings - git diff --check Refs: PLAN.md Phase 1 relay/client/gateway proof
This commit is contained in:
Generated
+2
@@ -540,7 +540,9 @@ dependencies = [
|
||||
"anyhow",
|
||||
"bytes",
|
||||
"clap",
|
||||
"lanparty-client-core",
|
||||
"lanparty-ctrl",
|
||||
"lanparty-gateway",
|
||||
"lanparty-net",
|
||||
"lanparty-obs",
|
||||
"lanparty-proto",
|
||||
|
||||
Reference in New Issue
Block a user