Skip to content

Commit

Permalink
Pass correct number of expected shards to assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
s1monw committed Jan 3, 2014
1 parent acfe99f commit 2d2cb80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public void run() {
logger.info("--> refreshing the index");
refreshAndAssert();
logger.info("--> verifying indexed content");
iterateAssertCount(5, indexCounter.get(), 10);
iterateAssertCount(numShards, indexCounter.get(), 10);
}

private void iterateAssertCount(final int numberOfShards, final long numberOfDocs, final int iterations) throws Exception {
Expand Down

0 comments on commit 2d2cb80

Please sign in to comment.