Limit rayon to one thread during fuzzing

This should enable more deterministic execution.
This commit is contained in:
Nick Fitzgerald
2020-02-28 16:32:06 -08:00
parent 99a37a7e61
commit 4866fa0e6a
6 changed files with 40 additions and 3 deletions

View File

@@ -81,6 +81,8 @@ pub struct ApiCalls {
impl Arbitrary for ApiCalls {
fn arbitrary(input: &mut Unstructured) -> arbitrary::Result<Self> {
crate::init_fuzzing();
let swarm = Swarm::arbitrary(input)?;
let mut calls = vec![];