diff --git a/ci/testnet-manager.sh b/ci/testnet-manager.sh index dbe8d920e8..11a9845533 100755 --- a/ci/testnet-manager.sh +++ b/ci/testnet-manager.sh @@ -425,7 +425,7 @@ deploy() { # shellcheck disable=SC2068 NO_VALIDATOR_SANITY=1 \ ci/testnet-deploy.sh -p demo-testnet-solana-com -C gce ${GCE_ZONE_ARGS[@]} \ - -t "$CHANNEL_OR_TAG" -n "$GCE_NODE_COUNT" -c 0 -P -u -f \ + -t "$CHANNEL_OR_TAG" -n "$GCE_NODE_COUNT" -c 0 -P -u --allow-boot-failures \ --skip-remote-log-retrieval \ -a demo-testnet-solana-com \ ${skipCreate:+-e} \ @@ -437,7 +437,7 @@ deploy() { # shellcheck disable=SC2068 NO_VALIDATOR_SANITY=1 \ ci/testnet-deploy.sh -p demo-testnet-solana-com2 -C gce ${GCE_LOW_QUOTA_ZONE_ARGS[@]} \ - -t "$CHANNEL_OR_TAG" -n "$GCE_LOW_QUOTA_NODE_COUNT" -c 0 -P -f -x \ + -t "$CHANNEL_OR_TAG" -n "$GCE_LOW_QUOTA_NODE_COUNT" -c 0 -P --allow-boot-failures -x \ --skip-remote-log-retrieval \ ${skipCreate:+-e} \ ${skipStart:+-s} \ diff --git a/net/gce.sh b/net/gce.sh index 651190343e..ebb66548b9 100755 --- a/net/gce.sh +++ b/net/gce.sh @@ -119,7 +119,9 @@ Manage testnet instances zone -x - append to the existing configuration instead of creating a new configuration - -f - Discard validator nodes that didn't bootup successfully + --allow-boot-failures + - Discard from config validator nodes that didn't bootup + successfully create-specific options: -n [number] - Number of additional fullnodes (default: $additionalFullNodeCount) @@ -175,6 +177,9 @@ while [[ -n $1 ]]; do elif [[ $1 == --machine-type* || $1 == --custom-cpu* ]]; then # Bypass quoted long args for GPUs shortArgs+=("$1") shift + elif [[ $1 == --allow-boot-failures ]]; then + failOnValidatorBootupFailure=false + shift else usage "Unknown long option: $1" fi @@ -232,9 +237,6 @@ while getopts "h?p:Pn:c:r:z:gG:a:d:uxf" opt "${shortArgs[@]}"; do x) externalNodes=true ;; - f) - failOnValidatorBootupFailure=false - ;; *) usage "unhandled option: $opt" ;;