Disable cluster restart attempt

This commit is contained in:
Michael Vines 2019-04-15 09:50:52 -07:00
parent 666882fbbd
commit 5e2831f09e
1 changed files with 11 additions and 4 deletions

View File

@ -340,11 +340,18 @@ sanity-or-restart)
else
echo "+++ Sanity failed, updating the network"
$metricsWriteDatapoint "testnet-manager sanity-failure=1"
if start "" update; then
echo Update successful
# TODO: Restore attempt to restart the cluster before recreating it
# See https://github.com/solana-labs/solana/issues/3774
if false; then
if start "" update; then
echo Update successful
else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
start
fi
else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
start
fi
fi