ci: decrease proptest cases for trie::arbitrary (#1266)

This commit is contained in:
joshieDo
2023-02-10 13:27:48 +08:00
committed by GitHub
parent b6c9886b09
commit a58cf8ac60

View File

@@ -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<Address, (Account, BTreeSet<StorageEntry>)>)| {
proptest!(ProptestConfig::with_cases(10), |(accounts: BTreeMap<Address, (Account, BTreeSet<StorageEntry>)>)| {
test_with_accounts(accounts);
});
}