From 98d0ef6df5404ee675deb77c3e0b225003cdec3b Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 16 Aug 2018 20:14:54 -0700 Subject: [PATCH] Add some wget retries --- ci/testnet-deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 19d15ba854..dac07c5393 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -70,7 +70,10 @@ fi SNAP_INSTALL_CMD="sudo snap remove solana; $SNAP_INSTALL_CMD" EARLYOOM_INSTALL_CMD="\ - wget -O install-earlyoom.sh https://raw.githubusercontent.com/solana-labs/solana/master/ci/install-earlyoom.sh; \ + wget --retry-connrefused --waitretry=1 \ + --read-timeout=20 --timeout=15 --tries=5 \ + -O install-earlyoom.sh \ + https://raw.githubusercontent.com/solana-labs/solana/master/ci/install-earlyoom.sh; \ bash install-earlyoom.sh \ " SNAP_INSTALL_CMD="$EARLYOOM_INSTALL_CMD; $SNAP_INSTALL_CMD"