Fix clippy errors

This commit is contained in:
Pankaj Garg 2019-04-05 11:51:05 -07:00
parent 63fd4222aa
commit b33a1fa019
1 changed files with 10 additions and 2 deletions

View File

@ -135,14 +135,22 @@ sanity() {
(
set -x
EC2_ZONES=(sa-east-1a us-west-1a ap-northeast-2a eu-central-1a ca-central-1a)
ok=true
for zone in "${EC2_ZONES[@]}"; do
ci/testnet-sanity.sh beta-testnet-solana-com ec2 "$zone" || return false
if ! $ok; then
break
fi
ci/testnet-sanity.sh beta-testnet-solana-com ec2 "$zone" || ok=false
done
GCE_ZONES=(us-west1-b asia-east2-a europe-west4-a southamerica-east1-b us-east4-c)
for zone in "${GCE_ZONES[@]}"; do
ci/testnet-sanity.sh beta-testnet-solana-com gce "$zone" || return false
if ! $ok; then
break
fi
ci/testnet-sanity.sh beta-testnet-solana-com gce "$zone" || ok=false
done
$ok
)
;;
testnet-beta-perf)