-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Flakey test failure in SortedSetDVStringFieldDataTests testSortMissingLast #4238
Comments
@nknize are you poking at this? |
Yes. It's new as of the Lucene 9.4 snapshot PR. Only reproducible if you run the entire Test class, not the individual case. |
Some more investigation. The number of documents in the search impacts the failure. The failures occurs in edge cases where higher indexed elements in the document list are null. In the repro case listed above, there are 1105 documents, but the last one is null, and any number of documents 1103 or below fails (both 1104 and 1105 succeed). The difference seems to align with the number of nulls in indices > 1000. |
From Lucene's
This conflicts with the assertion here: OpenSearch/server/src/test/java/org/opensearch/index/fielddata/AbstractStringFieldDataTestCase.java Line 285 in 05a5819
The value of This test needs to be adjusted to account for this possible inaccuracy. |
Describe the bug
First observed in #4183 (comment), but I hit the same failure several times in #4222 and was able to reproduce it locally:
To Reproduce
See above
Expected behavior
Test consistently passes
Plugins
None
Screenshots
N/A
Host/Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: