jpountz commented on code in PR #13597: URL: https://github.com/apache/lucene/pull/13597#discussion_r1686443455
########## lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90DocValuesFormatVariableSkipInterval.java: ########## @@ -36,4 +49,159 @@ public void testSkipIndexIntervalSize() { () -> new Lucene90DocValuesFormat(random().nextInt(Integer.MIN_VALUE, 2))); assertTrue(ex.getMessage().contains("skipIndexIntervalSize must be > 1")); } + + public void testSkipperAllEqualValue() throws IOException { + final IndexWriterConfig config = new IndexWriterConfig().setCodec(getCodec()); + try (Directory directory = newDirectory(); + RandomIndexWriter writer = new RandomIndexWriter(random(), directory, config)) { + int numDocs = random().nextInt(100); Review Comment: did you mean atLeast(100)? -- 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-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org