Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
#143: Add sleep in wait shield wait loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersand8 authored and seilc1 committed Sep 20, 2018
1 parent afa3b8f commit 397d4f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/setup_minio.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -ex
wget https://dl.minio.io/client/mc/release/linux-amd64/mc
chmod +x mc
./mc -C .mc mb s3/backup --insecure
3 changes: 2 additions & 1 deletion docker/setup_shield.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Configures shield for automated testing
set -e
set -x

HOST='localhost:8443'
INTERVAL_IN_SECONDS='5'
Expand All @@ -13,6 +13,7 @@ for ((retries=0; retries<=MAX_RETRIES; retries++)); do
break
fi
echo "Trie ${i} failed, retrying in ${INTERVAL_IN_SECONDS}s"
sleep ${INTERVAL_IN_SECONDS}
done

# Login
Expand Down

0 comments on commit 397d4f7

Please sign in to comment.