merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 98d9dfb8c8637b8902e8b7f249834f807fa3e322
parent a9c438700f56b76b6b879e2cfa2363921e95d0f0
Author: Sebastian <sebasjm@gmail.com>
Date:   Wed,  1 Sep 2021 13:03:15 -0300

wait for secmod rsa to build the keys

Diffstat:
Msrc/testing/initialize_taler_system.sh | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 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 & echo " OK" +echo -n "Wait RSA service to build keys..." +( tail -f -n0 taler-exchange-secmod-rsa.log & ) | grep -q "Sending RSA SYNCED message" +echo " done" + +echo -n "Waiting for the bank" # Wait for bank to be available (usually the slowest) for n in `seq 1 50` do @@ -145,7 +150,7 @@ do sleep 0.2 OK=0 # bank - wget --tries=1 --timeout=1 http://localhost:8082/ -o /dev/null -O /dev/null >/dev/null || continue + wget --waitretry=0 --timeout=1 http://localhost:8082/ -o /dev/null -O /dev/null >/dev/null || continue OK=1 break done