// now connect the clients
List<IoFuture<IoSession>> cf = new ArrayList<IoFuture<IoSession>>();
for (int i = 0; i < CLIENT_COUNT; i++) {
cf.add(client.connect(new InetSocketAddress("localhost", port)));
}
// does the session open message was fired ?
assertTrue(openLatch.await(WAIT_TIME, TimeUnit.MILLISECONDS));