diff options
Diffstat (limited to 'src/simtest/signatures.rs')
| -rw-r--r-- | src/simtest/signatures.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/simtest/signatures.rs b/src/simtest/signatures.rs index 2425a16..c6232e7 100644 --- a/src/simtest/signatures.rs +++ b/src/simtest/signatures.rs @@ -44,11 +44,10 @@ async fn verified(node: &AppState, actor: &ActorId, seq: u64) -> bool { node.doc.read().await.signatures.verified(actor, seq) } -/// A write no rule signs is signed a while after it (`--sign-every`, 1 s by default), -/// and the signature reaches every node on its own (SIGNATURES): the change went before -/// it was signed. +/// A write no rule signs is signed as a sync message takes it (`--sign-every sent`, the +/// default), and the signature reaches every node with it. #[tokio::test(flavor = "multi_thread", worker_threads = 4)] -async fn unsigned_writes_are_verified_within_the_interval() { +async fn writes_leave_signed() { let sim = Sim::with_identity(61); let a = sim.start("a", &[], Start::Genesis); let b = sim.start("b", &["a"], Start::Join); |
