Document network stress test class for its invocation

This commit is contained in:
Ivan Vilata-i-Balaguer 2016-05-18 13:33:07 +02:00
parent 43fa580e8d
commit dc6676d98f

View file

@ -38,6 +38,17 @@ import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Executors; import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit; 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 { public class NetworkStressTest {
// Test parameters // Test parameters