bench-tps/net sanity: add ability to check for unexpected extra nodes

This commit is contained in:
Michael Vines
2018-09-11 20:00:49 -07:00
parent 9ab5692acf
commit f06113500d
6 changed files with 41 additions and 4 deletions

View File

@ -34,6 +34,7 @@ Operate a configured testnet
sanity/start-specific options:
-o noLedgerVerify - Skip ledger verification
-o noValidatorSanity - Skip validator sanity
-o rejectExtraNodes - Require the exact number of nodes
stop-specific options:
none
@ -78,7 +79,7 @@ while getopts "h?S:s:o:f:" opt; do
;;
o)
case $OPTARG in
noLedgerVerify|noValidatorSanity)
noLedgerVerify|noValidatorSanity|rejectExtraNodes)
sanityExtraArgs="$sanityExtraArgs -o $OPTARG"
;;
*)