diff options
author | Florian Dold <florian@dold.me> | 2022-11-04 15:16:22 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-11-04 15:16:22 +0100 |
commit | 6d59c19f363d0eb7a0ba94646914624df56bd14a (patch) | |
tree | 3a80cc2475de0a4dec4a90ca5b3a0c98cb367b95 /src/auditor | |
parent | 576384b26e808302287ee7b7a22e9b95b66cc656 (diff) |
fix sandbox auth in testv0.9.0
Diffstat (limited to 'src/auditor')
-rwxr-xr-x | src/auditor/generate-auditor-basedb.sh | 10 | ||||
-rwxr-xr-x | src/auditor/generate-revoke-basedb.sh | 2 |
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}; |