Skip to content

Commit

Permalink
fix compileTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Apr 23, 2024
1 parent 66f4754 commit 4fa5392
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ public void testRescoreAfterCollapseRandom() throws Exception {
.setSize(Math.min(numGroups, 10));
long expectedNumHits = numHits;
assertResponse(request, resp -> {
assertThat(resp.getHits().getTotalHits().value, equalTo((long) expectedNumHits));
assertThat(resp.getHits().getTotalHits().value, equalTo(expectedNumHits));
for (int pos = 0; pos < resp.getHits().getHits().length; pos++) {
SearchHit hit = resp.getHits().getAt(pos);
assertThat(hit.getId(), equalTo(groups[pos].id()));
Expand Down

0 comments on commit 4fa5392

Please sign in to comment.