From 42cc5b62711e1b56320db32dd051f7e8af6efe60 Mon Sep 17 00:00:00 2001 From: Andriy Berestovskyy Date: Tue, 5 Nov 2024 17:26:50 +0100 Subject: [PATCH] chore: EXC: Reduce stable grow test cases to 10 (#2447) This reduces the overall test time from ~40s down to ~3s. --- rs/embedders/tests/stable_grow.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rs/embedders/tests/stable_grow.rs b/rs/embedders/tests/stable_grow.rs index 8f7b2c31cbc..49d6d77a5e4 100644 --- a/rs/embedders/tests/stable_grow.rs +++ b/rs/embedders/tests/stable_grow.rs @@ -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