One more tweak to the port test
This commit is contained in:
parent
50a8d2fbc8
commit
c81c5c2497
|
@ -46,7 +46,7 @@ public class PortUtilTest {
|
||||||
List<PortUtil> portUtils = Collections.synchronizedList(new ArrayList<>());
|
List<PortUtil> portUtils = Collections.synchronizedList(new ArrayList<>());
|
||||||
List<String> errors = Collections.synchronizedList(new ArrayList<>());
|
List<String> errors = Collections.synchronizedList(new ArrayList<>());
|
||||||
|
|
||||||
int tasksCount = 50;
|
int tasksCount = 20;
|
||||||
ExecutorService pool = Executors.newFixedThreadPool(tasksCount);
|
ExecutorService pool = Executors.newFixedThreadPool(tasksCount);
|
||||||
int portsPerTaskCount = 51;
|
int portsPerTaskCount = 51;
|
||||||
for (int i = 0; i < tasksCount; i++) {
|
for (int i = 0; i < tasksCount; i++) {
|
||||||
|
|
Loading…
Reference in New Issue