From 4cdb9a73f8af1acb3a9e35030c1948ffabd6bbb8 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sat, 28 Jul 2018 12:32:29 -0700 Subject: [PATCH] Skip testnet-sanity on manual deploy --- ci/testnet-deploy.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 9517e05270..174ad65a2f 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -381,10 +381,16 @@ vm_foreach_in_class validator validator_start wait_for_pids validators echo "--- $publicUrl sanity test" -( - set -x - USE_SNAP=1 ci/testnet-sanity.sh $publicUrl $fullnode_count -) +if [[ -z $CI ]]; then + # TODO: ssh into a node and run testnet-sanity.sh there. It's not safe to + # 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[@]}") wait_for_pids client shutdown