gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: check port once per service


From: gnunet
Subject: [libeufin] branch master updated: check port once per service
Date: Mon, 04 May 2020 18:10:02 +0200

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

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new c4828cc  check port once per service
c4828cc is described below

commit c4828cc47dedc48bb8c5f7a1cc80b7283022a1b8
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon May 4 18:09:46 2020 +0200

    check port once per service
---
 integration-tests/test-ebics.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py
index 8b6cb75..5467a88 100755
--- a/integration-tests/test-ebics.py
+++ b/integration-tests/test-ebics.py
@@ -46,8 +46,8 @@ SUBSCRIBER_BIC="BUKBGB22"
 SUBSCRIBER_NAME="Oliver Smith"
 BANK_ACCOUNT_LABEL="savings"
 
-def checkPorts():
-    for i in [5000, 5001]:
+def checkPorts(ports):
+    for i in ports:
         s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
         try:
             s.bind(i)
@@ -75,6 +75,7 @@ assert(0 == call(["rm", "-f", 
"nexus/libeufin-nexus.sqlite3"]))
 DEVNULL = open(os.devnull, "w")
 
 # Start nexus
+checkPorts([5001])
 nexus = Popen(["./gradlew", "nexus:run"], stdout=PIPE, stderr=PIPE)
 for i in range(10):
     try:
@@ -89,6 +90,7 @@ for i in range(10):
         continue
     break
 
+checkPorts([5000])
 sandbox = Popen(["./gradlew", "sandbox:run"], stdout=PIPE, stderr=PIPE)
 for i in range(10):
     try:

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



reply via email to

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