The zone lookup tests fail on Windows because they delete their SQLite file while a pooled connection holds it #444
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#444
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?
Run 1637 (push to
develop, merge of #443, commit1cbc8813) failed in Test .NET on Windows: all 10 tests ofAuthoritativeZoneCacheFindZoneTests(added by #230) fail inDisposeAsyncwithThe class deletes the database file with
File.Delete. A pooled SQLite connection keeps the file open, which Windows refuses to delete. The shared helperTemporaryFiles.DeleteSqliteDatabaseclears that database's pool first; the siblingAuthoritativeZoneCacheDelegationTestsuses it.Fix: use the helper. Test-only.
To check afterwards: why the pull-request pipeline of #443 reported Test .NET on Windows green for the same tests.
Answer to the open question: the pull-request pipeline does not run the Windows tests at all.
test-windowsin.forgejo/workflows/pipeline.ymlhasif: inputs.kind == 'prerelease' && (forgejo.ref_name == 'develop' || forgejo.ref_name == 'main'), so on a pull request the job is skipped and its status reads as passed. That is by design (one Windows runner). A Windows-only test failure therefore shows first on thedeveloppush run after the merge, as it did here.