You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2025/09/29 19:06:00 UTC
[jira] [Updated] (YARN-11872) TestAppCatalogSolrClient has a junit 4 transitive dependency
[ https://issues.apache.org/jira/browse/YARN-11872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze updated YARN-11872:
------------------------------
Component/s: (was: yarn)
> TestAppCatalogSolrClient has a junit 4 transitive dependency
> ------------------------------------------------------------
>
> Key: YARN-11872
> URL: https://issues.apache.org/jira/browse/YARN-11872
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: test
> Reporter: Tsz-wo Sze
> Priority: Major
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org