chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbc5ddc
)
at-otter hidden: Do not unfake rng on exit
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Mar 2021 20:16:36 +0000
(20:16 +0000)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/apitest/at-otter.rs
b/apitest/at-otter.rs
index aabeb08a304f63ba0a9166430fbc29272494b0f4..79406e4bab277a5a6b0009bd9c21383c43b540d7 100644
(file)
--- 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()?;
}
}