From 2daf5c4566cd2b175e4f22646041eeaf4e8c81c5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 3 Jul 2022 13:41:33 +0200 Subject: -fix non-deterministically failing test due to competing wirewatch processes --- src/testing/initialize_taler_system.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/testing/initialize_taler_system.sh') 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 -- cgit v1.2.3