diff --git a/iroh/tests/sync.rs b/iroh/tests/sync.rs index b9b322cf05..ab3c38cdf5 100644 --- a/iroh/tests/sync.rs +++ b/iroh/tests/sync.rs @@ -44,7 +44,6 @@ fn test_node( .secret_key(secret_key) .derp_mode(DerpMode::Disabled) .runtime(&rt) - .bind_port(0) } // The function is not `async fn` so that we can take a `&mut` borrow on the `rng` without @@ -736,11 +735,9 @@ async fn doc_delete() -> Result<()> { let rt = test_runtime(); let db = iroh_bytes::store::mem::Store::new(rt.clone()); let store = iroh_sync::store::memory::Store::default(); - let addr = "127.0.0.1:0".parse().unwrap(); let node = Node::builder(db, store) .gc_policy(iroh::node::GcPolicy::Interval(Duration::from_millis(100))) .runtime(&rt) - .bind_port(addr) .spawn() .await?; let client = node.client();