commit 9989867642d53c4bdcb711a7b96fd6fb0f340f27
parent b08af5ec4eb60ef79553d53697273af7038aaae1
Author: Özgür Kesim <oec@codeblau.de>
Date: Sat, 18 Oct 2025 17:22:45 +0200
[testing] increase DEFAULT_SLEEP and number retries
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/testing/taler-unified-setup.sh b/src/testing/taler-unified-setup.sh
@@ -91,7 +91,7 @@ USE_VALGRIND=""
WIRE_DOMAIN="x-taler-bank"
CONF_ORIG="$HOME/.config/taler.conf"
LOGLEVEL="DEBUG"
-DEFAULT_SLEEP="0.2"
+DEFAULT_SLEEP="0.5"
# Parse command-line options
while getopts ':abc:d:DeEfghkL:mMnr:stu:vwWzZ' OPTION; do
@@ -143,6 +143,7 @@ while getopts ':abc:d:DeEfghkL:mMnr:stu:vwWzZ' OPTION; do
# shellcheck disable=SC2016
echo ' -r $MEX -- which exchange to use at the merchant (optional)'
echo ' -s -- start backup/sync'
+ echo ' -S $SLEEP -- set default sleep time between retries'
echo ' -t -- start taler-exchange-transfer'
# shellcheck disable=SC2016
echo ' -u $SECTION -- exchange account to use'
@@ -177,6 +178,9 @@ while getopts ':abc:d:DeEfghkL:mMnr:stu:vwWzZ' OPTION; do
s)
START_BACKUP="1"
;;
+ S)
+ DEFAULT_SLEEP="$OPTARG"
+ ;;
t)
START_TRANSFER="1"
;;
@@ -795,7 +799,7 @@ M_DONE=0
S_DONE=0
K_DONE=0
A_DONE=0
-for n in $(seq 1 20)
+for n in $(seq 1 30)
do
sleep "$DEFAULT_SLEEP"
OK="0"