easyice opened a new pull request, #13030: URL: https://github.com/apache/lucene/pull/13030
Gradle command to reproduce: ``` ./gradlew :lucene:core:test --tests "org.apache.lucene.search.TestTopFieldCollector.testTotalHits" -Ptests.heapsize=2g -Ptests.jvms=6 "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1" -Ptests.seed=334CDB6B7D196089 -Ptests.nightly=true -Ptests.gui=false -Ptests.file.encoding=ISO-8859-1 -Ptests.vectorsize=256 ``` Error message: ``` > java.lang.AssertionError: expected:<2> but was:<3> > at __randomizedtesting.SeedInfo.seed([334CDB6B7D196089:193C89DD7C8E120E]:0) > at org.junit.Assert.fail(Assert.java:89) > at org.junit.Assert.failNotEquals(Assert.java:835) > at org.junit.Assert.assertEquals(Assert.java:647) > at org.junit.Assert.assertEquals(Assert.java:633) > at org.apache.lucene.search.TestTopFieldCollector.testTotalHits(TestTopFieldCollector.java:195) ``` The `newIndexWriterConfig` will `setMaxBufferedDocs` using a random value of 2-15 or 16-1000, which maybe cause the `AssertionError` in this test. -- 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