diff --git a/.changelog/unreleased/testing/876-faster-epoch-test.md b/.changelog/unreleased/testing/876-faster-epoch-test.md new file mode 100644 index 00000000000..f387dee313b --- /dev/null +++ b/.changelog/unreleased/testing/876-faster-epoch-test.md @@ -0,0 +1,2 @@ +- Run fewer cases on update_epoch_after_its_duration, for a faster test suite. + ([#876](https://github.com/anoma/namada/pull/876)) \ No newline at end of file diff --git a/core/src/ledger/storage/mod.rs b/core/src/ledger/storage/mod.rs index 8285e58bab1..5d0befbaca7 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,