Remove ledger verification, it's racy and essentially globaly disabled already (#5867)

This commit is contained in:
Michael Vines
2019-09-11 10:53:10 -07:00
committed by GitHub
parent 92d2452f33
commit bf1ecc2441
5 changed files with 2 additions and 51 deletions

View File

@ -83,7 +83,6 @@ Operate a configured testnet
sanity/start/update-specific options:
-F - Discard validator nodes that didn't bootup successfully
-o noLedgerVerify - Skip ledger verification
-o noValidatorSanity - Skip fullnode sanity
-o noInstallCheck - Skip solana-install sanity
-o rejectExtraNodes - Require the exact number of nodes
@ -221,7 +220,7 @@ while getopts "h?T:t:o:f:rD:c:Fn:i:d" opt "${shortArgs[@]}"; do
;;
o)
case $OPTARG in
noLedgerVerify|noValidatorSanity|rejectExtraNodes|noInstallCheck)
noValidatorSanity|rejectExtraNodes|noInstallCheck)
sanityExtraArgs="$sanityExtraArgs -o $OPTARG"
;;
*)
@ -535,7 +534,7 @@ sanity() {
set -x
# shellcheck disable=SC2029 # remote-client.sh args are expanded on client side intentionally
ssh "${sshOptions[@]}" "$blockstreamer" \
"./solana/net/remote/remote-sanity.sh $blockstreamer $sanityExtraArgs -o noLedgerVerify -o noValidatorSanity \"$RUST_LOG\""
"./solana/net/remote/remote-sanity.sh $blockstreamer $sanityExtraArgs -o noValidatorSanity \"$RUST_LOG\""
) || ok=false
$ok || exit 1
fi