From: Ian Jackson Date: Sat, 13 Mar 2021 20:16:36 +0000 (+0000) Subject: at-otter hidden: Do not unfake rng on exit X-Git-Tag: otter-0.4.0~94 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d665bd9f6ec3b0358eeaa0459a76aa4948ebe1f5;p=otter.git at-otter hidden: Do not unfake rng on exit Anyone test that wants any particular rng behaviour must set it up. Ad-hoc tests are mucb better when the rng is not faked. Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index aabeb08a..79406e4b 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -519,8 +519,6 @@ impl Ctx { // to repro a bug, have Alice move the black pawn out again // observe yellow highlight in bob's view and black pawn is in wrong // place - - self.su_mut().mgmt_conn.fakerng_unfake()?; } }