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

This commit is contained in:
Jeff Biseda 2022-02-14 07:48:30 -08:00 committed by GitHub
parent d6927365ed
commit d15d495f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -2468,6 +2468,7 @@ pub fn main() {
info!("OS network limits test passed."); info!("OS network limits test passed.");
} else { } 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."); 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);
} }
} }