diff options
author | Marcello Stanisci <ms@taler.net> | 2020-05-04 18:32:04 +0200 |
---|---|---|
committer | Marcello Stanisci <ms@taler.net> | 2020-05-04 18:32:04 +0200 |
commit | fb58c4a2a23092fb464551aa5b554b72996a24ba (patch) | |
tree | 2f2450d9bf18fc812cfb479623471c8697b859d7 /integration-tests/test-ebics.py | |
parent | a23e9954b0fe459684208f0359984c9d5b5e1e4d (diff) | |
download | libeufin-fb58c4a2a23092fb464551aa5b554b72996a24ba.tar.gz libeufin-fb58c4a2a23092fb464551aa5b554b72996a24ba.tar.bz2 libeufin-fb58c4a2a23092fb464551aa5b554b72996a24ba.zip |
Terminate services after test passes.
Diffstat (limited to 'integration-tests/test-ebics.py')
-rwxr-xr-x | integration-tests/test-ebics.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py index 551ab282..c1b02a83 100755 --- a/integration-tests/test-ebics.py +++ b/integration-tests/test-ebics.py @@ -50,7 +50,7 @@ def checkPorts(ports): for i in ports: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: - s.bind(i) + s.bind(("0.0.0.0", i)) s.close() except: print("Port {} is not available".format(i)) @@ -253,4 +253,6 @@ resp = assertResponse( ) assert(len(resp.json().get("payments")) == 1) +nexus.terminate() +sandbox.terminate() print("Test passed!") |