removed a left over assert made redundant by last commit
This commit is contained in:
parent
925203b9c1
commit
61036390e2
|
@ -70,7 +70,6 @@ public class ElasticsearchAssertions {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void assertHitCount(CountResponse countResponse, long expectedHitCount) {
|
public static void assertHitCount(CountResponse countResponse, long expectedHitCount) {
|
||||||
assertThat(countResponse.getCount(), is(expectedHitCount));
|
|
||||||
if (countResponse.getCount() != expectedHitCount) {
|
if (countResponse.getCount() != expectedHitCount) {
|
||||||
String msg = "Count is " + countResponse.getCount() + " but " + expectedHitCount + " was expected. " +
|
String msg = "Count is " + countResponse.getCount() + " but " + expectedHitCount + " was expected. " +
|
||||||
countResponse.getFailedShards() + " shard failures:";
|
countResponse.getFailedShards() + " shard failures:";
|
||||||
|
|
Loading…
Reference in New Issue