From cfc626a2d14c57e3134bd284b9482935d6534735 Mon Sep 17 00:00:00 2001 From: Diva M Date: Thu, 23 Nov 2023 22:18:21 +0100 Subject: [PATCH] adjust missing sync test --- iroh/tests/sync.rs | 3 --- 1 file changed, 3 deletions(-) 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();