The framed stream session tests do not fail on a slow machine because of a 100 ms bound #402
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#402
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Found while verifying #396; not seen failing yet.
FramedDnsStreamSessionTests.APeerThatStopsReading_HitsTheWriteDeadline_AndFreesEverySlot(src/dotnet/tests/Ninlil.Dns.Server.Core.Tests/Transport/FramedDnsStreamSessionTests.cs, lines 89-108) runs with a 300 ms write deadline and asserts that eachquery.Respondreturns in under 100 ms (line 108). The close itself is expected, but on a runner whose thread pool is starved the 100 ms assertion can fail without anything being wrong in the session.Also check
Fix
Responddoes not block on the stalled peer) without a wall-clock bound that a loaded machine can miss: for example a generous bound far below the write deadline's effect, or a completion check that does not time the call.Done when
FramedDnsStreamSessionTestsfails only because the machine is slow.