diff options
| author | tv <tv@krebsco.de> | 2026-11-01 20:59:18 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 20:59:18 +0100 |
| commit | 9626255663820b708800fffa91c5f38c33d3cf09 (patch) | |
| tree | 092336879981ea3d170028ae80af34ac5a318550 /src/transport/libp2p/tests.rs | |
| parent | bf88eb98173758691b3e8cea65a6ab8a90d5ca65 (diff) | |
libp2p: idle timeout follows keepalive
Diffstat (limited to 'src/transport/libp2p/tests.rs')
| -rw-r--r-- | src/transport/libp2p/tests.rs | 3 |
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(); |
