From a58cf8ac6090d6a280b7e330ffb5881105823df6 Mon Sep 17 00:00:00 2001 From: joshieDo <93316087+joshieDo@users.noreply.github.com> Date: Fri, 10 Feb 2023 13:27:48 +0800 Subject: [PATCH] ci: decrease proptest cases for `trie::arbitrary` (#1266) --- crates/stages/src/trie/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/stages/src/trie/mod.rs b/crates/stages/src/trie/mod.rs index 5585a012e6..45542aa208 100644 --- a/crates/stages/src/trie/mod.rs +++ b/crates/stages/src/trie/mod.rs @@ -366,6 +366,7 @@ impl DBTrieLoader { mod tests { use super::*; use assert_matches::assert_matches; + use proptest::{prelude::ProptestConfig, proptest}; use reth_db::{mdbx::test_utils::create_test_rw_db, tables, transaction::DbTxMut}; use reth_primitives::{ hex_literal::hex, @@ -623,7 +624,7 @@ mod tests { #[test] fn arbitrary() { - proptest::proptest!(|(accounts: BTreeMap)>)| { + proptest!(ProptestConfig::with_cases(10), |(accounts: BTreeMap)>)| { test_with_accounts(accounts); }); }