tests relying on empty stderr [LUCENE-7825]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Some of the tests are relying on empty stder.
This is very inconvenient for machines using various configurations on various JVMs.
Eg:
JAVA_TOOL_OPTIONS='-XX:+UseShenandoahGC '
export JAVA_TOOL_OPTIONS
then any jvm invocation (even java -version) prints to stderr
/usr/bin/java -version
Picked up JAVA_TOOL_OPTIONS: -XX:+UseShenandoahGC
There are much more cases when stderr is used for smilar informatio, and lucene testsuite should be readdy for this.
Maybe for start just remove all lines staring by "Picked up" for openjdk?-)
---
Migrated from [LUCENE-7825](https://issues.apache.org/jira/browse/LUCENE-7825) by jiri vanek
Contributor guide
Research direction
The issue does not name specific files or tests; begin by locating Lucene tests that require empty stderr and reproduce them with JAVA_TOOL_OPTIONS set to -XX:+UseShenandoahGC. Done means informational JVM stderr such as "Picked up JAVA_TOOL_OPTIONS" no longer causes the test suite to fail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100