From d008fd781dbae7fdf3cb3a4b593d1b2335fd8b3a Mon Sep 17 00:00:00 2001 From: igor-aptos <110557261+igor-aptos@users.noreply.github.com> Date: Tue, 20 Jun 2023 19:33:05 -0700 Subject: [PATCH] increase memory limit for overload (#8754) --- testsuite/forge-cli/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testsuite/forge-cli/src/main.rs b/testsuite/forge-cli/src/main.rs index 56f83625589ae..999a3996ebebd 100644 --- a/testsuite/forge-cli/src/main.rs +++ b/testsuite/forge-cli/src/main.rs @@ -997,8 +997,9 @@ fn realistic_env_graceful_overload() -> ForgeConfig { .add_no_restarts() .add_wait_for_catchup_s(120) .add_system_metrics_threshold(SystemMetricsThreshold::new( - // Check that we don't use more than 12 CPU cores for 30% of the time. - MetricsThreshold::new(12, 40), + // overload test uses more CPUs than others, so increase the limit + // Check that we don't use more than 18 CPU cores for 30% of the time. + MetricsThreshold::new(18, 40), // Check that we don't use more than 5 GB of memory for 30% of the time. MetricsThreshold::new(5 * 1024 * 1024 * 1024, 30), ))