diff options
| author | tv <tv@krebsco.de> | 2026-10-31 05:26:27 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 05:26:27 +0100 |
| commit | 3de2af786cee9d6841bc12c0e46c1d9c6a1c5024 (patch) | |
| tree | 7b211ef765c7320d427a64d2a4ddbd831de7f7ae /src/simtest/mod.rs | |
| parent | 1e7207b0575f59dc16a4b2fd9a92b793ff3541f8 (diff) | |
simtest: unify SOON constant
Diffstat (limited to 'src/simtest/mod.rs')
| -rw-r--r-- | src/simtest/mod.rs | 3 |
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 { |
