You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/03/18 17:45:05 UTC

[GitHub] [lucene] jpountz commented on a change in pull request #754: LUCENE-10473: Make tests a bit faster when running nightly.

jpountz commented on a change in pull request #754:
URL: https://github.com/apache/lucene/pull/754#discussion_r830223881



##########
File path: lucene/core/src/java/org/apache/lucene/codecs/CompetitiveImpactAccumulator.java
##########
@@ -151,9 +151,6 @@ public String toString() {
 
   // Only called by assertions
   private boolean assertConsistent() {
-    for (int freq : maxFreqs) {
-      assert freq >= 0;
-    }

Review comment:
       We spent lots of time there in `Test2BPostings` and tests that index lots of docs in general, while this part of the assertion doesn't yield much value.




-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org