You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2025/09/18 16:35:00 UTC

[jira] [Created] (HADOOP-19699) TestAppCatalogSolrClient has a junit 4 transitive dependency

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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org