Tsz-wo Sze created HADOOP-19699:
-----------------------------------
Summary: TestAppCatalogSolrClient has a junit 4 transitive
dependency
Key: HADOOP-19699
URL: https://issues.apache.org/jira/browse/HADOOP-19699
Project: Hadoop Common
Issue Type: Sub-task
Components: test, yarn
Reporter: Tsz-wo Sze
The following is where the junit 4 transitive dependency comes from:
- TestAppCatalogSolrClient uses EmbeddedSolrServerFactory (Hadoop Yarn),
- which uses org.apache.solr.util.TestInjection (solr-test-framework in Apache
Solr),
- which uses org.apache.lucene.tests.util.LuceneTestCase (Apache Lucene)
- which uses JUnit 4.
Unfortunately, the latest (2025.9.18) code of Apache Solr and Apache Lucene are
still respectively using
- LuceneTestCase
[https://github.com/apache/solr/blob/8bbc3d84be847ae8653a2be13ed11891a6e80afa/solr/core/src/java/org/apache/solr/util/TestInjection.java#L76]
and
- JUnit 4
[https://github.com/apache/lucene/blob/13a7e1e53d0e69233e775f2fb241b86c3ac0e527/lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java#L202,216]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]