benchaplin opened a new pull request, #16870:
URL: https://github.com/apache/lucene/pull/16870
We saw the following failure recently:
```
TestSynonymQuery > testBoosts FAILED
java.lang.AssertionError: expected:<GREATER_THAN_OR_EQUAL_TO> but
was:<EQUAL_TO>
at
__randomizedtesting.SeedInfo.seed([704BF6E1D62537D6:D9B22877A409B700]:0)
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at org.junit.Assert.assertEquals(Assert.java:146)
at
org.apache.lucene.search.TestSynonymQuery.doTestBoosts(TestSynonymQuery.java:270)
at
org.apache.lucene.search.TestSynonymQuery.testBoosts(TestSynonymQuery.java:223)
NOTE: reproduce with: gradlew test --tests TestSynonymQuery.testBoosts
-Dtests.seed=704BF6E1D62537D6 -Dtests.locale=nqo-GN
-Dtests.timezone=Antarctica/South_Pole -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
```
I added some logging to the reproduction and found that with this seed, the
test searcher created all single-doc slices during intra-segment partitioning.
Then no collector sees more than totalHitsThreshold=1 hits, and the relation
never flips to `GREATER_THAN_OR_EQUAL_TO`. I've just removed the flaky
assertion.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]