From 47cba02fc7e22edc97a07669644ba2cb921c9f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Fri, 9 Dec 2022 12:21:33 +0100 Subject: [PATCH] test/core: run less cases on `update_epoch_after_its_duration` test --- core/src/ledger/storage/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/ledger/storage/mod.rs b/core/src/ledger/storage/mod.rs index 8285e58bab..5d0befbaca 100644 --- a/core/src/ledger/storage/mod.rs +++ b/core/src/ledger/storage/mod.rs @@ -1211,6 +1211,7 @@ pub mod testing { mod tests { use chrono::{TimeZone, Utc}; use proptest::prelude::*; + use proptest::test_runner::Config; use rust_decimal_macros::dec; use super::testing::*; @@ -1259,6 +1260,10 @@ mod tests { } proptest! { + #![proptest_config(Config { + cases: 10, + .. Config::default() + })] /// Test that: /// 1. When the minimum blocks have been created since the epoch /// start height and minimum time passed since the epoch start time,