The framed stream session tests no longer fail when a slow machine misses a sub-second timing bound #405
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!405
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/402-framed-session-test-bounds"
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?
The framed stream session tests no longer fail when a slow machine misses a sub-second timing bound. Test code only; no defect was found in
FramedDnsStreamSession.APeerThatStopsReading_HitsTheWriteDeadline_AndFreesEverySlot: the idle timeout is 1 s, not 300 ms, so the read-idle limit cannot end the session while the frames arrive. The "Respond under 100 ms" stopwatch bound is replaced by a check that eachRespondhas completed when it returns, which shows without a clock that the responder only queues and never waits on the stalled peer.AQueryThatNeverAnswers_DoesNotHoldTheConnectionPastTheDrainBound: the idle timeout is 1 s, not 300 ms, so a stall between receiving the frames and the client's shutdown does not let the session give up first.TheTransferToken_IsCancelledAtItsLimit_AndByAnAbort: the fixed 500 ms delay is replaced by a wait for the limited token's cancellation, bounded by the 30-second safety timeout.Verified
Ninlil.Dns.Server.Core.Tests356 of 356; csharpier clean.Closes #402
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK