[
https://issues.apache.org/jira/browse/LUCENE-8819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854539#comment-16854539
]
Atri Sharma commented on LUCENE-8819:
-------------------------------------
[~ivera] Hmm, I was working on the original forked branch for 8757, now rebased
to master. Interestingly, the problem I described above does not occur in
master, thanks to Adrien's replacement of the said code block.
Running the tests in IntelliJ did not reproduce the problem for me.Running from
the commandline triggers the following assert. I am not sure if I understand
how 8757 can affect this since 8757 primarily introduces two changes, one which
is triggered only during building LeafSlice contexts (which in turn is invoked
only for parallel search, and the failing tests do not do parallel segment
reads AFAIK), and tightening up asserts in AssertingCollector (which are not
getting tripped). Is this the same stack that you see in test failure for
TestRegexpRandom2?:
{code:java}
at junit.framework.Assert.fail(Assert.java:57)
[junit4] > at
org.apache.lucene.search.CheckHits.checkEqual(CheckHits.java:205)
[junit4] > at
org.apache.lucene.search.TestRegexpRandom2.assertSame(TestRegexpRandom2.java:178)
[junit4] > at
org.apache.lucene.search.TestRegexpRandom2.testRegexps(TestRegexpRandom2.java:164)
{code}
> org.apache.lucene.search.TestTopDocsMerge.testSort_1 failure
> ------------------------------------------------------------
>
> Key: LUCENE-8819
> URL: https://issues.apache.org/jira/browse/LUCENE-8819
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Ignacio Vera
> Priority: Major
> Attachments: LUCENE-8819.patch
>
>
> It can be reproduced with:
>
> {code:java}
> ant test -Dtestcase=TestTopDocsMerge -Dtests.method=testSort_1
> -Dtests.seed=E916688CE5BC9122 -Dtests.multiplier=3 -Dtests.slow=true
> -Dtests.locale=es-US -Dtests.timezone=Pacific/Johnston -Dtests.asserts=true
> -Dtests.file.encoding=ISO-8859-1{code}
>
> Test fails in master and branch 8.x but it does not fail in branch 8.1.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]