Skip to content

Commit 9046f77

Browse files
author
Christoph Büscher
authored
[Tests] Remove unneeded test logging (#54634)
This logging was added to get better insight into #35644 which was closed by #37302 and can be removed now.
1 parent 6d0bd25 commit 9046f77

File tree

1 file changed

+0
-8
lines changed
  • client/rest-high-level/src/test/java/org/elasticsearch/client

1 file changed

+0
-8
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/SearchIT.java

-8
Original file line numberDiff line numberDiff line change
@@ -1299,14 +1299,6 @@ public void testCountAllIndicesNoQuery() throws IOException {
12991299
CountRequest countRequest = new CountRequest();
13001300
CountResponse countResponse = execute(countRequest, highLevelClient()::count, highLevelClient()::countAsync);
13011301
assertCountHeader(countResponse);
1302-
// add logging to get more info about why https://github.com/elastic/elasticsearch/issues/35644 is failing
1303-
// TODO remove this once #35644 is fixed
1304-
if (countResponse.getCount() != 12) {
1305-
SearchRequest searchRequest = new SearchRequest();
1306-
searchRequest.source(new SearchSourceBuilder().size(20));
1307-
SearchResponse searchResponse = execute(searchRequest, highLevelClient()::search, highLevelClient()::searchAsync);
1308-
logger.info("Unexpected hit count, was expecting 12 hits but got: " + searchResponse.toString());
1309-
}
13101302
assertEquals(12, countResponse.getCount());
13111303
}
13121304

0 commit comments

Comments
 (0)