One more tweak to the port test

This commit is contained in:
James Agnew 2019-03-17 17:54:48 -04:00
parent 50a8d2fbc8
commit c81c5c2497
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {