From 9626255663820b708800fffa91c5f38c33d3cf09 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 20:59:18 +0100 Subject: libp2p: idle timeout follows keepalive --- src/transport/libp2p/tests.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/transport/libp2p/tests.rs') 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(); -- cgit v1.3.1