@Test(timeout = 60000) public void testCC() throws Exception { ExecutorService executor = Executors.newFixedThreadPool(NTHREAD); Collection<Collection<Node<String>>> result = GraphAlg.getConnectedComponents(u_graph, executor); executor.shutdown(); }