Skip to content

Commit

Permalink
chore: EXC: Reduce stable grow test cases to 10 (#2447)
Browse files Browse the repository at this point in the history
This reduces the overall test time from ~40s down to ~3s.
  • Loading branch information
berestovskyy authored Nov 5, 2024
1 parent 7d5b998 commit 42cc5b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rs/embedders/tests/stable_grow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ fn run_memory_grows(grows: &[GrowCommand]) {

#[test]
fn random_stable_grows() {
// The default is 256 cases, but we do half of that to reduce the test time.
let config = Config::with_cases(128);
let config = Config::with_cases(10);
let algorithm = config.rng_algorithm;
let mut runner = TestRunner::new_with_rng(config, TestRng::deterministic_rng(algorithm));
runner
Expand Down

0 comments on commit 42cc5b6

Please sign in to comment.