thomasmueller commented on code in PR #2912:
URL: https://github.com/apache/jackrabbit-oak/pull/2912#discussion_r3288751497
##########
oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlannerTest.java:
##########
@@ -557,7 +556,7 @@ public void indexedButZeroWeightProps() throws Exception{
// Since, the index has no entries for "bar", estimated entry count
for plan2 would be 0
assertEquals(0, plan2.getEstimatedEntryCount());
- assertThat(plan2.getEstimatedEntryCount(),
lessThan(plan1.getEstimatedEntryCount()));
+ assertTrue(plan2.getEstimatedEntryCount() <
plan1.getEstimatedEntryCount());
Review Comment:
assertThat is deprecated., that's why I removed it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]