diff --git a/iroh-gossip/src/net.rs b/iroh-gossip/src/net.rs index dd25729e45..d77a9c2349 100644 --- a/iroh-gossip/src/net.rs +++ b/iroh-gossip/src/net.rs @@ -613,7 +613,10 @@ mod test { use std::time::Duration; use iroh_net::PeerAddr; - use iroh_net::{derp::{DerpMap, DerpMode}, MagicEndpoint}; + use iroh_net::{ + derp::{DerpMap, DerpMode}, + MagicEndpoint, + }; use tokio::spawn; use tokio::time::timeout; use tokio_util::sync::CancellationToken; diff --git a/iroh-net/src/magicsock.rs b/iroh-net/src/magicsock.rs index 7265ee8643..195b84f1fd 100644 --- a/iroh-net/src/magicsock.rs +++ b/iroh-net/src/magicsock.rs @@ -2648,7 +2648,7 @@ pub(crate) mod tests { use tracing_subscriber::{prelude::*, EnvFilter}; use super::*; - use crate::{test_utils::run_derper, tls, MagicEndpoint, derp::DerpMode}; + use crate::{derp::DerpMode, test_utils::run_derper, tls, MagicEndpoint}; fn make_transmit(destination: SocketAddr) -> quinn_udp::Transmit { quinn_udp::Transmit { diff --git a/iroh/tests/provide.rs b/iroh/tests/provide.rs index 59eae3cb60..5941603cdc 100644 --- a/iroh/tests/provide.rs +++ b/iroh/tests/provide.rs @@ -732,7 +732,6 @@ async fn test_custom_collection_parser() { let doc_store = iroh_sync::store::memory::Store::default(); let node = Node::builder(db, doc_store) .collection_parser(CollectionsAreJustLinks) - .enable_derp(iroh_net::defaults::default_derp_map()) .bind_addr(addr) .runtime(&rt) .spawn() @@ -1056,7 +1055,6 @@ async fn test_token_passthrough() -> Result<()> { tokio::time::timeout(Duration::from_secs(30), async move { let endpoint = MagicEndpoint::builder() .secret_key(SecretKey::generate()) - .enable_derp(iroh_net::defaults::default_derp_map()) .keylog(true) .bind(0) .await?;