Run sanity only in the zone that contains the bootstrap leader and blockstreamer nodes (#3828)

This commit is contained in:
Michael Vines 2019-04-17 14:25:40 -07:00 committed by GitHub
parent fdb12b54fa
commit ca36a6f4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 7 deletions

View File

@ -146,14 +146,11 @@ sanity() {
ok=true ok=true
if [[ -n $EC2_NODE_COUNT ]]; then if [[ -n $EC2_NODE_COUNT ]]; then
ci/testnet-sanity.sh beta-testnet-solana-com ec2 "${EC2_ZONES[0]}" || ok=false ci/testnet-sanity.sh beta-testnet-solana-com ec2 "${EC2_ZONES[0]}" || ok=false
fi elif [[ -n $GCE_NODE_COUNT ]]; then
if $ok && [[ -n $GCE_NODE_COUNT ]]; then
if [[ -n $EC2_NODE_COUNT ]]; then
echo "TODO: Fix testnet-sanity.sh to work with a multinode testnet. It needs an '-x'-like argument"
exit 1
fi
ci/testnet-sanity.sh beta-testnet-solana-com gce "${GCE_ZONES[0]}" || ok=false ci/testnet-sanity.sh beta-testnet-solana-com gce "${GCE_ZONES[0]}" || ok=false
else
echo "Error: no EC2 or GCE nodes"
ok=false
fi fi
$ok $ok
) )