rethink TestCheckIndex.testLuceneConstantVersion [LUCENE-4435]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This test currently checks the "display version" of lucene which is set by the ant build.xml variable.
But its been problematic in the past: and I'm sure its annoying for people running from things like IDEs.
I think #5494 is a more straightforward way of checking that the version is set correctly, it verifies the actual JAR metadata.
---
Migrated from [LUCENE-4435](https://issues.apache.org/jira/browse/LUCENE-4435) by Robert Muir (@rmuir), updated Mar 22 2013
Contributor guide
Research direction
Start with TestCheckIndex.testLuceneConstantVersion and inspect how it currently reads the display version from ant build.xml. Review issue #5494 for the proposed JAR metadata check, then run the relevant TestCheckIndex test. Done means the test verifies the version through actual JAR metadata rather than the build variable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100