commit 0e6d417b5dc89d00bf530b2cdd40816647709a40
parent 5f2cf486270c6299f8a30a2fb802c205820e7785
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 8 Jan 2026 19:23:27 +0100
make test more robust against timing issues, nicer log output
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/testing/test_merchant_instance_auth.sh b/src/testing/test_merchant_instance_auth.sh
@@ -68,6 +68,8 @@ TOKEN=$(jq -e -r .access_token < $LAST_RESPONSE)
echo " OK" >&2
+echo "Setting up bank account..." >&2
+
STATUS=$(curl -H "Content-Type: application/json" -X POST \
-H "Authorization: Bearer $TOKEN" \
http://localhost:9966/private/accounts \
@@ -97,7 +99,8 @@ NEW_SECRET="different_value"
taler-merchant-exchangekeyupdate \
-c "${CONF}" \
-L DEBUG \
- 2> taler-merchant-exchangekeyupdate2.log &
+ -t \
+ 2> taler-merchant-exchangekeyupdate2.log
taler-merchant-passwd \
-c "${CONF}" \
-L DEBUG \
@@ -343,6 +346,8 @@ fi
echo " OK" >&2
+echo "Creating refreshable login token..." >&2
+
STATUS=$(curl -H "Content-Type: application/json" -X POST \
-H 'Authorization: Basic '"$BASIC_AUTH2" \
http://localhost:9966/instances/second/private/token \