The TCP listener tests no longer fail when a loaded machine delivers the query after the idle timeout #398
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!398
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/389-zone-transfer-duration-test"
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 TCP listener tests no longer fail when a loaded machine delivers the query after the test's shortened idle timeout. Test code only.
TcpZoneTransferDurationTests.AnAxfrThatOutlivesTheIdleTimeout_Completesfailed once in CI: the connection ended before the first transfer message. Reproduced: 3 of 30 runs under heavy CPU load.FramedDnsStreamSessionruns from accept and is disarmed once the query frame is read; the transfer then runs on its own limit. The test's 300 ms timeout expired before its own client had sent the query. With the defaultTcpIdleTimeoutof 30 s this needs a 30-second stall and is not something an operator meets.TcpStreamSessionTests' fresh-connection checks retry on a new connection when the connection ends before the first reply, at mostTcpStreamTestHost.MaxFreshConnectionAttempts(4) times. Every later step stays a hard assertion. The constant's summary says what the retry tolerates and what it would hide.Verified
Ninlil.Dns.Protocol.Plain.Tests21 of 21; build 0 warnings; csharpier clean.Closes #389
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK