From dc6676d98f40618a6799cef3e021f632be7ffd97 Mon Sep 17 00:00:00 2001 From: Ivan Vilata-i-Balaguer Date: Wed, 18 May 2016 13:33:07 +0200 Subject: [PATCH] Document network stress test class for its invocation --- .../io/bitsquare/p2p/network/NetworkStressTest.java | 11 +++++++++++ 1 file changed, 11 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 7f85ddacdc..fae8cf1284 100644 --- a/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java +++ b/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java @@ -38,6 +38,17 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; +/** + * Bitsquare network stress tests. + * + * You can invoke this class directly from the command line. + * If the name of a single test is given as an argument, only that test is run. + * Otherwise all tests in the class are run. + * + * You can also set some {@code STRESS_TEST_*} environment variables to + * customize the execution of tests. + * See the {@code *_ENVVAR} constants for the names of these variables. + */ public class NetworkStressTest { // Test parameters