diff options
Diffstat (limited to 'core/src/test/java/org/elasticsearch/index/store/ExceptionRetryIT.java')
-rw-r--r-- | core/src/test/java/org/elasticsearch/index/store/ExceptionRetryIT.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/java/org/elasticsearch/index/store/ExceptionRetryIT.java b/core/src/test/java/org/elasticsearch/index/store/ExceptionRetryIT.java index 234de11b51..715fac55a7 100644 --- a/core/src/test/java/org/elasticsearch/index/store/ExceptionRetryIT.java +++ b/core/src/test/java/org/elasticsearch/index/store/ExceptionRetryIT.java @@ -122,7 +122,7 @@ public class ExceptionRetryIT extends ESIntegTestCase { if (!uniqueIds.add(searchResponse.getHits().getHits()[i].getId())) { if (!found_duplicate_already) { SearchResponse dupIdResponse = client().prepareSearch("index").setQuery(termQuery("_id", searchResponse.getHits().getHits()[i].getId())).setExplain(true).get(); - assertThat(dupIdResponse.getHits().totalHits(), greaterThan(1l)); + assertThat(dupIdResponse.getHits().totalHits(), greaterThan(1L)); logger.info("found a duplicate id:"); for (SearchHit hit : dupIdResponse.getHits()) { logger.info("Doc {} was found on shard {}", hit.getId(), hit.getShard().getShardId()); @@ -134,7 +134,7 @@ public class ExceptionRetryIT extends ESIntegTestCase { } } assertSearchResponse(searchResponse); - assertThat(dupCounter, equalTo(0l)); + assertThat(dupCounter, equalTo(0L)); assertHitCount(searchResponse, numDocs); } } |