Run sanity when previous ledger/setup is preserved

This commit is contained in:
Michael Vines 2019-01-08 14:28:07 -08:00
parent 5c87ddc80e
commit aedab3f83f
1 changed files with 5 additions and 5 deletions

View File

@ -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