renatoh commented on code in PR #4370:
URL: https://github.com/apache/solr/pull/4370#discussion_r3391228718
##########
solr/core/src/test/org/apache/solr/jersey/PostRequestLoggingFilterTest.java:
##########
@@ -96,6 +103,45 @@ public void
testBuildQueryParameterString_ExcludesFilteredParameters() {
assertEquals("paramName1=paramValue1¶mName2=paramValue2",
queryParamStr);
}
+ @Test
+ @SuppressWarnings("unchecked")
+ public void
testCachingJsonMessageBodyReaderDelegateUsesConfiguredObjectMapper()
+ throws Exception {
+ final var delegate = new
MessageBodyReaders.CachingJsonMessageBodyReader().getDelegate();
+
+ // Mapper SolrJacksonMapper.createObjectMapper creates a mapper wit
FAIL_ON_UNKNOWN_PROPERTIES
Review Comment:
@gerlowskija Something like this?
--
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]