Skip to content

Commit

Permalink
Removing assert equals check removed
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Jain <[email protected]>
  • Loading branch information
vibrantvarun committed May 24, 2024
1 parent b9ffed9 commit d659995
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@ public void testTotalHitsCountValidation_whenTotalHitsCollectedAtTopLevelInColle
uniqueDocIds.addAll(Arrays.stream(scoreDocsArray).map(scoreDoc -> scoreDoc.doc).collect(Collectors.toList()));
}
long maxTotalHits = uniqueDocIds.size();
assertNotEquals(maxTotalHits, totalHits);
assertEquals(4, totalHits);
// Total unique docs on the shard will be 2 as per 1 per sub-query
assertEquals(2, maxTotalHits);
Expand Down

0 comments on commit d659995

Please sign in to comment.