require --no-os-network-limits-test to bypass failed network limit checks (#22617)
This commit is contained in:
parent
d6927365ed
commit
d15d495f17
|
@ -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 &
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue