From 43024c6735391e3030bfbb0f170b59d00b788728 Mon Sep 17 00:00:00 2001 From: Christopher Baines <cb15g11@soton.ac.uk> Date: Sun, 13 Apr 2014 13:24:17 +0100 Subject: Lots of better test stuff --- networks/hs-stop-3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'networks/hs-stop-3') diff --git a/networks/hs-stop-3 b/networks/hs-stop-3 index 7d30f40..8d4f372 100644 --- a/networks/hs-stop-3 +++ b/networks/hs-stop-3 @@ -25,6 +25,9 @@ network.add(Node.create(10, { })) def start(): + for server in hs_servers: + server.listen() + results = hs_instance_stop(network) for server in hs_servers: @@ -32,9 +35,4 @@ def start(): network.stop() - if results: - logging.info("hs-stop-3 PASS") - else: - logging.info("hs-stop-3 FAIL") - return results -- cgit v1.2.3