gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis-gtk] branch master updated: fix #7228: make it easy to


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: fix #7228: make it easy to test hanging providers
Date: Sun, 26 Jun 2022 16:25:44 +0200

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

grothoff pushed a commit to branch master
in repository anastasis-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new c291bea  fix #7228: make it easy to test hanging providers
c291bea is described below

commit c291bea80bd9a7320b1ee6b966d15abcea3d2d48
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jun 26 16:25:41 2022 +0200

    fix #7228: make it easy to test hanging providers
---
 src/testing/test_prepare.sh | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/testing/test_prepare.sh b/src/testing/test_prepare.sh
index 2c9191c..202342d 100755
--- a/src/testing/test_prepare.sh
+++ b/src/testing/test_prepare.sh
@@ -22,6 +22,7 @@ function cleanup()
 {
     for n in `jobs -p`
     do
+        kill -SIGCONT $n # in case one provider was suspended
         kill $n 2> /dev/null || true
     done
     rm -rf $CONF $CONF_4 $WALLET_DB $R1FILE $R2FILE $B1FILE $B2FILE $TMP_DIR
@@ -394,10 +395,17 @@ echo -n "Launching anastasis services ..."
 # PREFIX="valgrind --log-file=anastasis-httpd.%p.log"
 PREFIX=""
 $PREFIX anastasis-httpd -L INFO -c $CONF_1 2> anastasis-httpd_1.log &
+PPID_1=$!
 $PREFIX anastasis-httpd -L INFO -c $CONF_2 2> anastasis-httpd_2.log &
+PPID_2=$!
 $PREFIX anastasis-httpd -L INFO -c $CONF_3 2> anastasis-httpd_3.log &
+PPID_3=$!
 $PREFIX anastasis-httpd -L INFO -c $CONF_4 2> anastasis-httpd_4.log &
-
+PPID_4=$!
+export PPID_1
+export PPID_2
+export PPID_3
+export PPID_4
 
 if test $1 = 'fees'
 then
@@ -548,6 +556,8 @@ then
     export WALLET_DB
 fi
 
+echo '- use kill -SIGSTOP $PPID_$NUM ($NUM: 1-4) to suspend providers'
+
 bash
 
 exit 0

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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