Skip to content

Commit 7a50914

Browse files
committed
tests: improve dns discovery tests
1 parent e66a840 commit 7a50914

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

iroh-net/src/discovery.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,9 +643,8 @@ mod test_dns_pkarr {
643643
let (relay_map, _relay_url, _relay_guard) = run_relay_server().await?;
644644

645645
let ep1 = ep_with_discovery(relay_map.clone(), nameserver, &origin, &pkarr_url).await?;
646-
// wait until our shared state received the update from pkarr publishing
647-
state.on_update().await;
648646
let ep2 = ep_with_discovery(relay_map, nameserver, &origin, &pkarr_url).await?;
647+
649648
// wait until our shared state received the update from pkarr publishing
650649
state.on_node(&ep1.node_id(), timeout).await?;
651650

0 commit comments

Comments
 (0)