chiark / gitweb /
at-otter hidden: Do not unfake rng on exit
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Mar 2021 20:16:36 +0000 (20:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Mar 2021 20:16:36 +0000 (20:16 +0000)
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 <ijackson@chiark.greenend.org.uk>
apitest/at-otter.rs

index aabeb08a304f63ba0a9166430fbc29272494b0f4..79406e4bab277a5a6b0009bd9c21383c43b540d7 100644 (file)
@@ -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()?;
   }
 }