validateEntryCount(platform, crawlDbPath, null, 3, "crawldb", true);
// run the second loop
curLoopDirPath = CrawlDirUtils.makeLoopDir(platform, workingDirPath, 2);
flow = DemoWebMiningWorkflow.createWebMiningWorkflow(platform, crawlDbPath, curLoopDirPath, fetcherPolicy, userAgent, options);
flow.complete();
// validate
statusPath = platform.makePath(curLoopDirPath, CrawlConfig.STATUS_SUBDIR_NAME);
validateEntryCount(platform, statusPath, null, 2, "status", true);