Fix testnet sanity check for beta testnet

This commit is contained in:
Pankaj Garg
2019-04-05 11:01:49 -07:00
committed by Grimes
parent 8fc9d3e076
commit d766a550f7
2 changed files with 10 additions and 1 deletions

View File

@ -134,7 +134,15 @@ sanity() {
testnet-beta)
(
set -x
ci/testnet-sanity.sh beta-testnet-solana-com ec2 us-west-1a
EC2_ZONES=(sa-east-1a us-west-1a ap-northeast-2a eu-central-1a ca-central-1a)
for zone in "${EC2_ZONES[@]}"; do
ci/testnet-sanity.sh beta-testnet-solana-com ec2 "$zone" || return 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
done
)
;;
testnet-beta-perf)

View File

@ -48,6 +48,7 @@ shutdown() {
exit $exitcode
}
rm -rf net/{log,-sanity}
rm -f net/config/config
trap shutdown EXIT INT
set -x