Skip to content

Commit

Permalink
test/core: run less cases on update_epoch_after_its_duration test
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic authored and bengtlofgren committed May 10, 2023
1 parent 9e15508 commit 41d6898
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/ledger/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 41d6898

Please sign in to comment.