From c5e7af43969b35b2a999be0e01a4409ce7cd3547 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 27 Jan 2022 07:07:23 +0100 Subject: [PATCH] fix(test): set fuzz runs (#595) --- cli/src/cmd/test.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cli/src/cmd/test.rs b/cli/src/cmd/test.rs index 9427f0d70..f72e10009 100644 --- a/cli/src/cmd/test.rs +++ b/cli/src/cmd/test.rs @@ -118,7 +118,11 @@ impl Cmd for TestArgs { // Setup the fuzzer // TODO: Add CLI Options to modify the persistence - let cfg = proptest::test_runner::Config { failure_persistence: None, ..Default::default() }; + let cfg = proptest::test_runner::Config { + failure_persistence: None, + cases: config.fuzz_runs, + ..Default::default() + }; let fuzzer = proptest::test_runner::TestRunner::new(cfg); // Set up the project