apache / apache/lucene

Improve Smoketester to test multiple JDK versions [LUCENE-8241]

Open
#9,288 0 comments 0 reactions 0 assignees View on GitHub
affects-version:7.3 legacy-jira-priority:Major tool:build type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

In #9203 we had to again activate testing with later Java versions in addition to the "official minimal one". Unfortunately this code was completely deleted from Java 7/Java 8 times, so I had to revert very old commits and this caused trouble because changed ant targets.

I'd suggest to improve the smoke tester to easily configure multiple JDK instances without hardcoding version numbers (if you want to now switch or add Java 10, you have to touch lots of code).

My Python knowledge is close to zero, so I open it here for discussion and maybe somebody elsae can help.

---
Migrated from [LUCENE-8241](https://issues.apache.org/jira/browse/LUCENE-8241) by Uwe Schindler (@uschindler)
Linked issues:
- #9203

Contributor guide

Open the contributing guide

Research direction

Start with linked issue #9203 and the existing smoketester and Ant targets, then trace how JDK instances and the official minimal version are selected. Done means multiple JDKs can be configured without hardcoded version numbers and the smoke tests cover them.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
build-system, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.