aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 05:26:27 +0100
committertv <tv@krebsco.de>2026-10-31 05:26:27 +0100
commit65e1b76ce1ae5e94c786b14bb97312266be7c5de (patch)
tree2ce241d0915a73eca6029fbe76f3c37e909f2bd3 /src/simtest/mod.rs
parent4ba4b4d218d4f9fc49cea01381d8931619114bbc (diff)
simtest: unify SOON constant
Diffstat (limited to 'src/simtest/mod.rs')
-rw-r--r--src/simtest/mod.rs3
1 files changed, 3 insertions, 0 deletions
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 {