Parallel container = new Parallel();
container.setProject(getProject());
container.setTaskName("parallel");
container.addDaemons(initDaemons(getProject(), getPort(), getClasspathRef(), getIntegrationTestsPath(), getSlimTableFactory()));
container.addTask(initSequence(getProject(), getPort(), getResultPath(), getSuiteNames(suites), filters, getConcurrentSuites(), getMaxTimeForSuite()));
container.execute();
}
private static Set<String> getSuiteNames(Suites suites) {
Set<String> names = new HashSet<String>();
Iterator suitie = suites.iterator();