aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/libp2p/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/libp2p/tests.rs')
-rw-r--r--src/transport/libp2p/tests.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/libp2p/tests.rs b/src/transport/libp2p/tests.rs
index e105761..0f52e23 100644
--- a/src/transport/libp2p/tests.rs
+++ b/src/transport/libp2p/tests.rs
@@ -36,6 +36,7 @@ fn memory_node_with(
internet_hosts: Vec::new(),
public: false,
memory: true,
+ keepalive: Duration::from_secs(60),
})
.unwrap();
let address = if listen {
@@ -185,6 +186,7 @@ async fn announced_addresses_are_published_instead() {
internet_hosts: Vec::new(),
public: false,
memory: true,
+ keepalive: Duration::from_secs(60),
})
.unwrap();
assert_eq!(
@@ -426,6 +428,7 @@ async fn a_relay_that_is_no_node() {
internet_hosts: Vec::new(),
public: false,
memory: true,
+ keepalive: Duration::from_secs(60),
})
.unwrap();
let r_address = r_listen.with_p2p(r_peer).unwrap();