Browse Source

require --no-os-network-limits-test to bypass failed network limit checks (#22617)

Jeff Biseda 3 years ago
parent
commit
d15d495f17
2 changed files with 2 additions and 0 deletions
  1. 1 0
      scripts/run.sh
  2. 1 0
      validator/src/main.rs

+ 1 - 0
scripts/run.sh

@@ -113,6 +113,7 @@ args=(
   --snapshot-compression none
   --require-tower
   --no-wait-for-vote-to-start-leader
+  --no-os-network-limits-test
 )
 # shellcheck disable=SC2086
 solana-validator "${args[@]}" $SOLANA_RUN_SH_VALIDATOR_ARGS &

+ 1 - 0
validator/src/main.rs

@@ -2468,6 +2468,7 @@ pub fn main() {
             info!("OS network limits test passed.");
         } else {
             eprintln!("OS network limit test failed. solana-sys-tuner may be used to configure OS network limits. Bypass check with --no-os-network-limits-test.");
+            exit(1);
         }
     }