From: Ian Jackson Date: Mon, 25 Apr 2022 00:02:21 +0000 (+0100) Subject: at-hidden: Add some more synch, just to complete things X-Git-Tag: otter-1.1.0~442 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b54a7f9a616d428c16cbd82843513ba34a748585;p=otter.git at-hidden: Add some more synch, just to complete things Signed-off-by: Ian Jackson --- diff --git a/apitest/at-hidden.rs b/apitest/at-hidden.rs index cfd4c814..b5232ded 100644 --- a/apitest/at-hidden.rs +++ b/apitest/at-hidden.rs @@ -2,10 +2,6 @@ // SPDX-License-Identifier: AGPL-3.0-or-later // There is NO WARRANTY. -#![allow(dead_code)] -#![allow(unused_mut)] -#![allow(unused_variables)] - use crate::*; type Ctx = UsualCtx; @@ -39,6 +35,7 @@ impl Ctx { self.su().mgmt_conn().cmd(&MC::SetFakeTime(FakeTimeSpec(Some(6000))))?; alice.synch()?; + bob.synch()?; alice.api_piece(GH::With, PuSynch(&mut (&mut a_pieces, die_red)), ("k", json!({ "opname": "roll", "wrc": WRC::UpdateSvg })))?; @@ -46,6 +43,8 @@ impl Ctx { alice.api_piece(GH::With, PuSynch(&mut (&mut a_pieces, hand)), ("k", json!({ "opname": "deactivate", "wrc": WRC::Unpredictable })))?; + alice.synch()?; + bob.synch()?; } }