Skip testnet-sanity on manual deploy

This commit is contained in:
Michael Vines
2018-07-28 12:32:29 -07:00
parent 4433730610
commit 4cdb9a73f8

View File

@ -381,10 +381,16 @@ vm_foreach_in_class validator validator_start
wait_for_pids validators wait_for_pids validators
echo "--- $publicUrl sanity test" echo "--- $publicUrl sanity test"
( if [[ -z $CI ]]; then
set -x # TODO: ssh into a node and run testnet-sanity.sh there. It's not safe to
USE_SNAP=1 ci/testnet-sanity.sh $publicUrl $fullnode_count # assume the correct Snap is installed on the current non-CI machine
) echo Skipped for non-CI deploy
else
(
set -x
USE_SNAP=1 ci/testnet-sanity.sh $publicUrl $fullnode_count
)
fi
pids=("${client_stop_pids[@]}") pids=("${client_stop_pids[@]}")
wait_for_pids client shutdown wait_for_pids client shutdown