Skip to content

Commit

Permalink
adjust missing sync test
Browse files Browse the repository at this point in the history
  • Loading branch information
divagant-martian committed Nov 24, 2023
1 parent ffcabf4 commit cfc626a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions iroh/tests/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit cfc626a

Please sign in to comment.