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 | 83b2f9efbbcedea3297fea6754ea4a0e7ac6b3e0 (patch) | |
| tree | b8dad406e79a23f8bf9ada3cdfb7da345c2ccba6 /src/transport/libp2p/tests.rs | |
| parent | 151d0a71ac8aef450c90c243966fb64aa63a63c7 (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(); |
