From 26d7002f534c0076e36627ad36ba25df2d80015f Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 05:26:27 +0100 Subject: simtest: unify SOON constant --- src/simtest/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/simtest/mod.rs') diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs index e6ee7a7..3c73bee 100644 --- a/src/simtest/mod.rs +++ b/src/simtest/mod.rs @@ -44,6 +44,9 @@ pub(crate) const SYNC_REPLY_TIMEOUT: Duration = Duration::from_secs(1); /// How long the simulated net may take to deliver a message: well above its delays. /// A catch-up source that stops sending sync messages is given up after this. pub(crate) const DELIVERY_LIMIT: Duration = Duration::from_secs(3); +/// How long tests wait for what should happen within a few keepalives: joining, +/// registering, converging. +pub(crate) const SOON: Duration = Duration::from_secs(10); /// A simulated swarm: the net and the nodes started on it. pub(crate) struct Sim { -- cgit v1.3.1