summaryrefslogtreecommitdiff
path: root/src/testing/initialize_taler_system.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-03 13:41:33 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-03 13:41:33 +0200
commit2daf5c4566cd2b175e4f22646041eeaf4e8c81c5 (patch)
treea9ab5f4cee7019677f559830d085e4835423c3df /src/testing/initialize_taler_system.sh
parent09a8501e94ac33051299631022ae9e519ee58a99 (diff)
downloadmerchant-2daf5c4566cd2b175e4f22646041eeaf4e8c81c5.tar.gz
merchant-2daf5c4566cd2b175e4f22646041eeaf4e8c81c5.tar.bz2
merchant-2daf5c4566cd2b175e4f22646041eeaf4e8c81c5.zip
-fix non-deterministically failing test due to competing wirewatch processes
Diffstat (limited to 'src/testing/initialize_taler_system.sh')
-rwxr-xr-xsrc/testing/initialize_taler_system.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testing/initialize_taler_system.sh b/src/testing/initialize_taler_system.sh
index e8b947c9..0a822867 100755
--- a/src/testing/initialize_taler_system.sh
+++ b/src/testing/initialize_taler_system.sh
@@ -119,8 +119,6 @@ taler-wallet-cli --version
taler-exchange-httpd --version
taler-merchant-httpd --version
-echo " OK"
-
echo -n "Setting up exchange ..."
# reset database
@@ -144,6 +142,7 @@ EXCHANGE_HTTPD_PID=$!
taler-merchant-httpd -c $CONF -L DEBUG 2> taler-merchant-httpd.log &
MERCHANT_HTTPD_PID=$!
taler-exchange-wirewatch -c $CONF 2> taler-exchange-wirewatch.log &
+WIREWATCH_PID=$!
taler-auditor-httpd -L INFO -c $CONF 2> taler-auditor-httpd.log &
echo " OK"
@@ -172,7 +171,7 @@ echo -n "Waiting for taler services "
for n in `seq 1 20`
do
echo -n "."
- sleep 1
+ sleep 0.1
OK=0
# exchange
wget --tries=1 --timeout=1 http://localhost:8081/seed -o /dev/null -O /dev/null >/dev/null || continue