Skip to content

Commit

Permalink
test windows CI ... :(
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus23 committed Aug 12, 2024
1 parent 144181b commit b6b0ba9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iroh-net/src/discovery/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ impl Discovery for DnsDiscovery {
fn resolve(&self, ep: Endpoint, node_id: NodeId) -> Option<BoxStream<Result<DiscoveryItem>>> {
let resolver = ep.dns_resolver().clone();
let origin_domain = self.origin_domain.clone();
#[cfg(any(test, feature = "test-utils"))]
if origin_domain.contains(&TEST_DNS_NODE_ORIGIN.to_string()) {
panic!("wait. THIS IS ILLEGAL!");
}
let fut = async move {
let node_addr = resolver
.lookup_by_id_staggered(&node_id, &origin_domain, DNS_STAGGERING_MS)
Expand Down

0 comments on commit b6b0ba9

Please sign in to comment.