for (int i = 0; i < threads.length; i++) {
threads[i].join();
}
//Node folderNode = repo.getAreaNode(RulesRepository.RULE_PACKAGE_AREA);
folderNode.refresh(true);
NodeIterator results = folderNode.getNodes("testConcurrentCopyPackage2");
assertEquals(1, results.getSize());
} }
class ConcurrentCopySession implements Runnable {