fix sandbox auth in test

This commit is contained in:
Florian Dold 2022-11-04 15:16:22 +01:00
parent 576384b26e
commit 6d59c19f36
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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};