AndreyBozhko commented on PR #2471: URL: https://github.com/apache/solr/pull/2471#issuecomment-2136007603
Looks like the test failure is due to the latest commit 8c5ae1b to main. @gerlowskija Could you take a look at this? It seems like the "Convert /cluster filestore APIs to JAX-RS" change made it so that the responseHeader inside a V2Response is now a LinkedHashMap and not a NamedList, so invoking `getResponseHeader` or `getStatus` on the V2Response fails with a ClassCastException. For the context - the test hits the `/api/cluster/files/` endpoint to upload the file, and then tries to assert that response.getStatus() is 0. ``` > java.lang.ClassCastException: class java.util.LinkedHashMap cannot be cast to class org.apache.solr.common.util.NamedList (java.util.LinkedHashMap is in module java.base of loader 'bootstrap'; org.apache.solr.common.util.NamedList is in unnamed module of loader 'app') > at __randomizedtesting.SeedInfo.seed([E519C61B26401EA4:6B2A3A85909FE569]:0) > at org.apache.solr.client.solrj.response.SolrResponseBase.getResponseHeader(SolrResponseBase.java:63) > at org.apache.solr.client.solrj.response.SolrResponseBase.getStatus(SolrResponseBase.java:68) > at org.apache.solr.pkg.PackageStoreSchemaPluginsTest.processRequest(PackageStoreSchemaPluginsTest.java:170) > at org.apache.solr.pkg.PackageStoreSchemaPluginsTest.uploadPluginJar(PackageStoreSchemaPluginsTest.java:133) > at org.apache.solr.pkg.PackageStoreSchemaPluginsTest.testCreateCollection_withPkgVersionsConstraint(PackageStoreSchemaPluginsTest.java:92) ``` -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org