From 82f771a0779a45d69a6ae2789f10eef2a2a832b1 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 16 Dec 2011 16:12:20 +0000 Subject: [PATCH] fix --- src/integration-tests/confs/c_nat_client.conf | 2 +- src/integration-tests/gnunet_testing.py.in | 2 +- src/integration-tests/test_integration_clique_nat.py.in | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/integration-tests/confs/c_nat_client.conf b/src/integration-tests/confs/c_nat_client.conf index d23c4d57b..27e041ca7 100644 --- a/src/integration-tests/confs/c_nat_client.conf +++ b/src/integration-tests/confs/c_nat_client.conf @@ -274,7 +274,7 @@ HOSTLISTFILE = $SERVICEHOME/hostlist/learned.data CONFIG = $DEFAULTCONFIG BINARY = gnunet-daemon-hostlist OPTIONS = -b -SERVERS = http://v9.gnunet.org:58080/ +SERVERS = http://localhost:8080/ HTTP-PROXY = [core] diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in index 81dff3f06..d53aa1592 100644 --- a/src/integration-tests/gnunet_testing.py.in +++ b/src/integration-tests/gnunet_testing.py.in @@ -217,7 +217,7 @@ class Peer: #server.expect ("stdout", re.compile (r"")) test = server.read("stdout", 10240) if (test.find(str(value)) == -1): - return value + return -1 else: return value diff --git a/src/integration-tests/test_integration_clique_nat.py.in b/src/integration-tests/test_integration_clique_nat.py.in index 6e6d4e505..c8e9afefa 100755 --- a/src/integration-tests/test_integration_clique_nat.py.in +++ b/src/integration-tests/test_integration_clique_nat.py.in @@ -41,7 +41,7 @@ from gnunet_testing import * #definitions testname = "test_integration_clique_nat" -verbose = False +verbose = True check_timeout = 120 @@ -110,6 +110,7 @@ def check_disconnect_server (): def success_connect_cont (check): + check.eval(False) check_disconnect_server () -- 2.25.1