From 4b05ee6811225d136a2746482e83f8eabd83c7c8 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 10 Dec 2018 13:23:38 -0800 Subject: [PATCH] Add hacky sleep --- ci/localnet-sanity.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/localnet-sanity.sh b/ci/localnet-sanity.sh index 3b8ae07f48..4df5864327 100755 --- a/ci/localnet-sanity.sh +++ b/ci/localnet-sanity.sh @@ -18,6 +18,12 @@ for cmd in $backgroundCommands; do echo "--- Start $cmd" rm -f log-"$cmd".txt multinode-demo/"$cmd".sh > log-"$cmd".txt 2>&1 & + if [[ $cmd = drone ]]; then + # Give the drone time to startup before the fullnodes attempt to airdrop + # from it (TODO: alternatively adjust `solana-wallet airdrop` to retry on + # "Connection refused" errors) + sleep 2 + fi declare pid=$! pids+=("$pid") echo "pid: $pid"