Skip to content

Commit

Permalink
increase memory limit for overload (#8754)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-aptos authored Jun 21, 2023
1 parent 85959c7 commit d008fd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testsuite/forge-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
))
Expand Down

0 comments on commit d008fd7

Please sign in to comment.