szetszwo commented on PR #7978:
URL: https://github.com/apache/hadoop/pull/7978#issuecomment-3304127134
```
[ERROR]
org.apache.hadoop.yarn.appcatalog.application.TestAppCatalogSolrClient.testNotFoundSearch
-- Time elapsed: 2.577 s <<< ERROR!
java.lang.NoClassDefFoundError: org/junit/Assert
...
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.apache.solr.util.TestInjection.<clinit>(TestInjection.java:85)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:210)
at
org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:174)
at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1290)
at
org.apache.hadoop.yarn.appcatalog.application.EmbeddedSolrServerFactory.create(EmbeddedSolrServerFactory.java:96)
at
org.apache.hadoop.yarn.appcatalog.application.EmbeddedSolrServerFactory.create(EmbeddedSolrServerFactory.java:55)
at
org.apache.hadoop.yarn.appcatalog.application.TestAppCatalogSolrClient.setup(TestAppCatalogSolrClient.java:53)
```
The test failure is not easy to fix:
- `TestAppCatalogSolrClient` uses `solr-test-framework`, which further uses
`LuceneTestCase`.
The junit 4 Assert is in `LuceneTestCase`. Not sure if updating the
`solr-test-framework` version 8.11.2 could fix it.
Will revert the change and fix it separately.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]