aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest
diff options
context:
space:
mode:
Diffstat (limited to 'src/simtest')
-rw-r--r--src/simtest/holding.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/simtest/holding.rs b/src/simtest/holding.rs
index ed6a9a5..ba33470 100644
--- a/src/simtest/holding.rs
+++ b/src/simtest/holding.rs
@@ -109,7 +109,8 @@ fn of_the_store(config: &mut NodeConfig, id: Id, root: Option<&[u8]>, holding: H
}
/// Starts `nodes`, each by its name with what it keeps of its store, from the store's
-/// `root`, the first one the others' seed, and waits until each holds the store.
+/// `root`, the first one the others' seed, and waits until each holds the store, and
+/// until they synced: each took the others' handshakes, and holds their entries.
async fn started(sim: &Sim, root: &[u8], nodes: Vec<(&str, Holding)>) -> Vec<AppState> {
started_with(sim, root, nodes, |_| {}).await
}
@@ -150,6 +151,7 @@ async fn started_with(
all.iter().all(|node| node.holding.tells_members())
})
.await;
+ sim.wait_converged(all, LONG).await;
states
}