mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-06 13:44:23 -04:00
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).
This commit is contained in:
parent
da5b59b06b
commit
2881a3dd63
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,8 @@ public class NetworkStressTest {
|
||||||
|
|
||||||
@After
|
@After
|
||||||
public void tearDown() throws InterruptedException, IOException {
|
public void tearDown() throws InterruptedException, IOException {
|
||||||
|
print("stopping all local nodes");
|
||||||
|
|
||||||
/** A barrier to wait for concurrent shutdown of services. */
|
/** A barrier to wait for concurrent shutdown of services. */
|
||||||
final CountDownLatch shutdownLatch = new CountDownLatch((seedNode != null? 1 : 0) + peerNodes.size());
|
final CountDownLatch shutdownLatch = new CountDownLatch((seedNode != null? 1 : 0) + peerNodes.size());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue