From aedab3f83fcabe256038f5e8773dd4f54404a6c0 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 8 Jan 2019 14:28:07 -0800 Subject: [PATCH] Run sanity when previous ledger/setup is preserved --- net/net.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/net.sh b/net/net.sh index dd763e8c2e..c6042e7a9c 100755 --- a/net/net.sh +++ b/net/net.sh @@ -371,15 +371,15 @@ start() { $metricsWriteDatapoint "testnet-deploy net-fullnodes-started=1" additionalNodeDeployTime=$SECONDS - if ! $updateNodes; then - sanity + if $updateNodes; then + for ipAddress in "${clientIpList[@]}"; do + stopNode "$ipAddress" + done fi + sanity SECONDS=0 for ipAddress in "${clientIpList[@]}"; do - if $updateNodes; then - stopNode "$ipAddress" - fi startClient "$ipAddress" "$netLogDir/client-$ipAddress.log" done clientDeployTime=$SECONDS