aboutsummaryrefslogtreecommitdiff
path: root/src/testing/initialize_taler_system.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/initialize_taler_system.sh')
-rwxr-xr-xsrc/testing/initialize_taler_system.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testing/initialize_taler_system.sh b/src/testing/initialize_taler_system.sh
index 218de4bf..15e59988 100755
--- a/src/testing/initialize_taler_system.sh
+++ b/src/testing/initialize_taler_system.sh
@@ -138,6 +138,11 @@ taler-auditor-httpd -L INFO -c $CONF 2> taler-auditor-httpd.log &
138 138
139echo " OK" 139echo " OK"
140 140
141echo -n "Wait RSA service to build keys..."
142( tail -f -n0 taler-exchange-secmod-rsa.log & ) | grep -q "Sending RSA SYNCED message"
143echo " done"
144
145echo -n "Waiting for the bank"
141# Wait for bank to be available (usually the slowest) 146# Wait for bank to be available (usually the slowest)
142for n in `seq 1 50` 147for n in `seq 1 50`
143do 148do
@@ -145,7 +150,7 @@ do
145 sleep 0.2 150 sleep 0.2
146 OK=0 151 OK=0
147 # bank 152 # bank
148 wget --tries=1 --timeout=1 http://localhost:8082/ -o /dev/null -O /dev/null >/dev/null || continue 153 wget --waitretry=0 --timeout=1 http://localhost:8082/ -o /dev/null -O /dev/null >/dev/null || continue
149 OK=1 154 OK=1
150 break 155 break
151done 156done