aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/auditor/generate-auditor-basedb.sh10
-rwxr-xr-xsrc/auditor/generate-revoke-basedb.sh2
2 files changed, 9 insertions, 3 deletions
diff --git a/src/auditor/generate-auditor-basedb.sh b/src/auditor/generate-auditor-basedb.sh
index b738823d5..5dfc263c4 100755
--- a/src/auditor/generate-auditor-basedb.sh
+++ b/src/auditor/generate-auditor-basedb.sh
@@ -154,14 +154,20 @@ echo $LIBEUFIN_SANDBOX_URL
set +e
echo -n "Waiting for Sandbox..."
OK=0
-for n in `seq 1 50`; do
+for n in `seq 1 100`; do
echo -n "."
sleep 1
- if wget --timeout=1 \
+ echo wget --timeout=1 \
--user admin --password secret \
--tries=3 --waitretry=0 \
-o /dev/null -O /dev/null \
${LIBEUFIN_SANDBOX_URL};
+
+ if wget --timeout=1 \
+ --user admin --password secret --auth-no-challenge \
+ --tries=3 --waitretry=0 \
+ -o /dev/null -O /dev/null \
+ ${LIBEUFIN_SANDBOX_URL};
then
OK=1
break
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh
index e70e0130b..2e3fbe750 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -160,7 +160,7 @@ for n in `seq 1 50`; do
echo -n "."
sleep 1
if wget --timeout=1 \
- --user admin --password secret \
+ --user admin --password secret --auth-no-challenge \
--tries=3 --waitretry=0 \
-o /dev/null -O /dev/null \
${LIBEUFIN_SANDBOX_URL};