gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: give up launching b


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: give up launching bank eventually
Date: Thu, 05 Sep 2019 14:09:52 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new fa54d42d give up launching bank eventually
fa54d42d is described below

commit fa54d42dc36ab54fccfbb67a691f77c2c5b04d6a
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Sep 5 14:09:39 2019 +0200

    give up launching bank eventually
---
 src/auditor/test-auditor.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 5ac01943..a7b8a733 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -42,12 +42,18 @@ function pre_audit () {
     # Launch bank
     echo -n "Launching bank "
     taler-bank-manage -c $CONF serve-http 2>bank.err >bank.log &
-    while true
+    for n in `seq 1 20`
     do
         echo -n "."
-        wget http://localhost:8082/ -o /dev/null -O /dev/null >/dev/null && 
break
         sleep 0.1
+        OK=1
+        wget http://localhost:8082/ -o /dev/null -O /dev/null >/dev/null && 
break
+        OK=0
     done
+    if [ 1 != $OK ]
+    then
+        exit_skip "Failed to launch bank"
+    fi
     echo " DONE"
 
     if test ${1:-no} = "aggregator"

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]