apache / apache/lucene

TestLucene60PointsFormat.testEstimatePointCount2Dims failure [LUCENE-8724]

Open
#9,770 0 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The test TestLucene60PointsFormat.testEstimatePointCount2Dims fails with reproducible seed:

 
ant test -Dtestcase=TestLucene60PointsFormat -Dtests.method=testEstimatePointCount2Dims -Dtests.seed=3D09FB21B1EBC04F -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=nl -Dtests.timezone=America/Dominica -Dtests.asserts=true -Dtests.file.encoding=UTF-8
 

It seems a test failure due to the distribution of the random generated points.

---
Migrated from [LUCENE-8724](https://issues.apache.org/jira/browse/LUCENE-8724) by Ignacio Vera (@iverase)
Attachments: [LUCENE-8724.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8724/LUCENE-8724.patch)

Contributor guide

Open the contributing guide

Research direction

Start with TestLucene60PointsFormat.testEstimatePointCount2Dims and reproduce it using the ant command and seed provided in the issue. Investigate whether the generated point distribution explains the failure; done means the test passes reliably without masking the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.