From 81641d7b0d8aadaef5fef7d4911944115b6f4fb6 Mon Sep 17 00:00:00 2001 From: Domenico De Guglielmo Date: Fri, 9 Feb 2024 15:45:29 +0100 Subject: [PATCH] fix tests --- dht-cache/src/domocache.rs | 1 + src/domobroker.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/dht-cache/src/domocache.rs b/dht-cache/src/domocache.rs index 3a9b83c..b7022ce 100644 --- a/dht-cache/src/domocache.rs +++ b/dht-cache/src/domocache.rs @@ -764,6 +764,7 @@ mod tests { shared_key: "d061545647652562b4648f52e8373b3a417fc0df56c332154460da1801b341e9" .to_string(), loopback: false, + listen_addr: "/ip4/0.0.0.0/tcp/0".to_string() }; if let Ok(cache) = super::DomoCache::new(conf).await { diff --git a/src/domobroker.rs b/src/domobroker.rs index ae247a4..a622056 100644 --- a/src/domobroker.rs +++ b/src/domobroker.rs @@ -309,6 +309,7 @@ mod tests { ), private_key: None, loopback: false, + listen_addr: "/ip4/0.0.0.0/tcp/0".to_string() }, http_port, };