mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #2187] [MERGED] fix(test): update ip of example.com #2869
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#2869
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?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/2187
Author: @situ2001
Created: 4/19/2024
Status: ✅ Merged
Merged: 4/20/2024
Merged by: @bluejekyll
Base:
main← Head:fix/update-example-com-ip📝 Commits (2)
e79072bfix: update ip ofexample.comc955b57fix: update ip ofexample.com📊 Changes
32 files changed (+124 additions, -122 deletions)
View changed files
📝
README.md(+1 -1)📝
bin/tests/named_tests.rs(+2 -2)📝
crates/async-std-resolver/README.md(+2 -2)📝
crates/async-std-resolver/src/lib.rs(+2 -2)📝
crates/client/README.md(+1 -1)📝
crates/client/src/client/async_client.rs(+2 -2)📝
crates/client/src/lib.rs(+2 -2)📝
crates/proto/src/h2/h2_client_stream.rs(+6 -6)📝
crates/proto/src/h3/h3_client_stream.rs(+6 -6)📝
crates/proto/src/op/message.rs(+1 -1)📝
crates/proto/src/xfer/dns_multiplexer.rs(+6 -3)📝
crates/resolver/README.md(+3 -3)📝
crates/resolver/examples/custom_provider.rs(+2 -2)📝
crates/resolver/src/async_resolver.rs(+15 -15)📝
crates/resolver/src/h2.rs(+4 -4)📝
crates/resolver/src/h3.rs(+4 -4)📝
crates/resolver/src/lib.rs(+4 -4)📝
crates/resolver/src/name_server/name_server_pool.rs(+2 -2)📝
crates/resolver/src/quic.rs(+4 -4)📝
crates/resolver/src/resolver.rs(+4 -4)...and 12 more files
📄 Description
When running test of my app, I found that the test failed due to the IP of
example.combeing changed and also discovered that hickory dns has the same issue. So I proceeded to take the following steps to fix the test.93.184.216.34to93.184.215.142606:2800:220:1:248:1893:25c8:1946to2606:2800:21f:cb07:6820:80da:af6b:8b2cI searched for all occurrences and replaced them until
cargo testis passed. And I'm unsure whether I need to do anything more for the tests that run locally. For example,github.com/hickory-dns/hickory-dns@76a4b84216/tests/integration-tests/tests/sqlite_authority_tests.rs (L55)Reference: Here is another repo that fixed this issues 1d ago https://github.com/Chia-Network/chia-blockchain/pull/17894
I hope you can review it patiently, as there are many files involved in the changes. Thank you. Additionally, do we need to add a global variable or environment variable to handle future IP changes?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.