From b54a7f9a616d428c16cbd82843513ba34a748585 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 25 Apr 2022 01:02:21 +0100 Subject: [PATCH] at-hidden: Add some more synch, just to complete things Signed-off-by: Ian Jackson --- apitest/at-hidden.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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()?; } } -- 2.30.2