joule-moq-relay test: the client closes after the relay holds its session (WebTransport close flake) #391
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/wt-close-linger"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the flake in
joule-moq-relay/tests/webtransport_close.rs(line 101, "the relay records the client's code: []"). It has failed CI on #365, #383 and #387.Cause
The diagnosis took a few steps, all on the build host under artificial load (16 concurrent copies, load average 37–51):
cleanup()never ran, and the relay held no open session.Fix
The test waits until the relay holds the session before the client closes. That is what the step means to test: a client closing an established session. The relay is unchanged. A session that closes before its SETUP is read was never served, and giving it a summary would change the metering's session counts.
Check
🤖 Generated with Claude Code