Skip to content

Commit

Permalink
Minor fix to make system test marginally more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Nov 24, 2016
1 parent 6dda348 commit 8d0c3a2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,12 @@ public void jobSplittingTest() {
PageHelper.getWebDriver().findElement(By.name("save")).click();
SelectiveHarvestPageHelper.activateHarvest(harvestName);
HarvestUtils.waitForJobGeneration(harvestName);
try {
Thread.sleep(30000);
} catch (InterruptedException e) {
}
List<WebElement> links = PageHelper.getWebDriver().findElements(By.partialLinkText(harvestName));
assertEquals(links.size(), 8, "Expected to generate one job per distinct configuration.");
assertEquals(links.size(), 8, "Expected to generate one job per distinct configuration for " + harvestName + ".");
}

/**
Expand Down

0 comments on commit 8d0c3a2

Please sign in to comment.