From 2881a3dd63acb7133825481bb1d7e44a23464454 Mon Sep 17 00:00:00 2001 From: Ivan Vilata-i-Balaguer Date: Wed, 11 May 2016 20:33:31 +0200 Subject: [PATCH] Indicate when nodes are being stopped in the network stress test It may help distinguish errors derived from forcibly stopping nodes (e.g. after a timeout). --- .../test/java/io/bitsquare/p2p/network/NetworkStressTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java b/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java index 60e3918c57..8d3d063929 100644 --- a/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java +++ b/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java @@ -228,6 +228,8 @@ public class NetworkStressTest { @After public void tearDown() throws InterruptedException, IOException { + print("stopping all local nodes"); + /** A barrier to wait for concurrent shutdown of services. */ final CountDownLatch shutdownLatch = new CountDownLatch((seedNode != null? 1 : 0) + peerNodes.size());