mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #2279] Random test failing that sends request to Google's DNS server #951
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#951
Loading…
Add table
Add a link
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?
Originally created by @justahero on GitHub (Jul 3, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2279
Describe the bug
A test in the CI job
test / platform (ubuntu-latest)failed in PR #2244, see CI logs. The failing test in question ish3::h3_client_stream::tests::test_h3_google_with_pure_ip_address_server.There are a number of tests sendings requests to Google's DNS server (
8.8.8.8), so any of these tests could potentially fail.To Reproduce
Unlikely to get reproduced as this depends on responses from the Google DNS server.
Expected behavior
The tests pass successfully
System:
ubuntu-lateston Github CIVersion:
Crate:
protoVersion: commit 2e07855e697014c1e5fdd495256b5a750846fe77
Additional context
The call of runtime.block_on(..) panicked.
It's worthwhile to evaluate what an alternative way to test the hickory related logic could look like, one without the dependency to the external name server.
@GICodeWarrior commented on GitHub (Jul 5, 2024):
Would a mock-based approach be useful/welcome?
For example:
https://docs.rs/socket-server-mocker/latest/socket_server_mocker/
@djc commented on GitHub (Jul 8, 2024):
Maybe the quick fix would be to retry this like 3 times?
@justahero commented on GitHub (Jul 8, 2024):
The test retries the request 3 times already :(
My guess is the best option for now is to re-run the affected CI job again.