removed a left over assert made redundant by last commit

This commit is contained in:
Boaz Leskes 2013-07-30 17:39:38 +02:00
parent 925203b9c1
commit 61036390e2
1 changed files with 0 additions and 1 deletions

View File

@ -70,7 +70,6 @@ public class ElasticsearchAssertions {
}
public static void assertHitCount(CountResponse countResponse, long expectedHitCount) {
assertThat(countResponse.getCount(), is(expectedHitCount));
if (countResponse.getCount() != expectedHitCount) {
String msg = "Count is " + countResponse.getCount() + " but " + expectedHitCount + " was expected. " +
countResponse.getFailedShards() + " shard failures:";