Julie Tibshirani created LUCENE-9906: ----------------------------------------
Summary: TestIndexSorting.testAddIndexesWithDeletionsAndDirectory can throw error Key: LUCENE-9906 URL: https://issues.apache.org/jira/browse/LUCENE-9906 Project: Lucene - Core Issue Type: Improvement Reporter: Julie Tibshirani This reproduced for me on {branch_8x}, but I couldn't reproduce on {main} using the same seed. {code} ant test -Dtestcase=TestIndexSorting -Dtests.method=testAddIndexesWithDeletionsAndDirectory -Dtests.seed=BED8ADB81856E61F -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=tk-TM -Dtests.timezone=Asia/Bishkek -Dtests.asserts=true -Dtests.file.encoding=US-ASCII [junit4] ERROR 0.83s | TestIndexSorting.testAddIndexesWithDeletionsAndDirectory <<< [junit4] > Throwable #1: java.lang.RuntimeException: index sort changed from <long: "foo">,<long: "bar"> to <long: "foo"> [junit4] > at __randomizedtesting.SeedInfo.seed([BED8ADB81856E61F:C4679CC0D9440770]:0) [junit4] > at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:650) [junit4] > at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:301) [junit4] > at org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:867) [junit4] > at org.apache.lucene.util.IOUtils.close(IOUtils.java:89) [junit4] > at org.apache.lucene.util.IOUtils.close(IOUtils.java:77) [junit4] > at org.apache.lucene.index.TestIndexSorting.testAddIndexes(TestIndexSorting.java:2125) [junit4] > at org.apache.lucene.index.TestIndexSorting.testAddIndexesWithDeletionsAndDirectory(TestIndexSorting.java:2141) [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) [junit4] > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit4] > at java.base/java.lang.reflect.Method.invoke(Method.java:564) [junit4] > at java.base/java.lang.Thread.run(Thread.java:832) [junit4] 2> NOTE: test params are: codec=Asserting(Lucene87): {id=FST50}, docValues:{bar=DocValuesFormat(name=Lucene80), foo=DocValuesFormat(name=Lucene80)}, maxPointsInLeafNode=1970, maxMBSortInHeap=5.567472541013199, sim=Asserting(RandomSimilarity(queryNorm=false): {id=DFR GB3(800.0)}), locale=tk-TM, timezone=Asia/Bishkek {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org