[
https://issues.apache.org/jira/browse/LUCENE-10278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452467#comment-17452467
]
ASF subversion and git services commented on LUCENE-10278:
----------------------------------------------------------
Commit cbd306f87b1dd8da37c862b73e23a5195737d16c in lucene's branch
refs/heads/branch_9x from Robert Muir
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=cbd306f ]
LUCENE-10278: don't write zero-sized array in this test (#501)
DocIdsWriter is not prepared for this.
> BKD TestDocIdsWriter.testRandom failure
> ---------------------------------------
>
> Key: LUCENE-10278
> URL: https://issues.apache.org/jira/browse/LUCENE-10278
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Robert Muir
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> To reproduce:
> {noformat}
> git checkout 387e67ec8729d082a0efcfdf2ffa858c98c3b6de
> ./gradlew :lucene:core:test --tests
> "org.apache.lucene.util.bkd.TestDocIdsWriter.testRandom" -Ptests.jvms=1
> -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=B12D5F26E92BFB5E
> -Ptests.slow=false -Ptests.file.encoding=ISO-8859-1
> ...
> org.apache.lucene.util.bkd.TestDocIdsWriter > testRandom FAILED
> java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for
> length 0
> at
> __randomizedtesting.SeedInfo.seed([B12D5F26E92BFB5E:C3617A29584B4D2D]:0)
> at
> org.apache.lucene.util.bkd.DocIdsWriter.writeDocIds(DocIdsWriter.java:47)
> at
> org.apache.lucene.util.bkd.TestDocIdsWriter.test(TestDocIdsWriter.java:82)
> at
> org.apache.lucene.util.bkd.TestDocIdsWriter.testRandom(TestDocIdsWriter.java:43)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]