kfaraz commented on code in PR #18341: URL: https://github.com/apache/druid/pull/18341#discussion_r2259270396
########## indexing-service/src/main/java/org/apache/druid/indexing/common/config/FileTaskLogsConfig.java: ########## @@ -19,11 +19,13 @@ package org.apache.druid.indexing.common.config; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import javax.validation.constraints.NotNull; import java.io.File; +@JsonIgnoreProperties(ignoreUnknown = true) Review Comment: Oh, that might be because the `ObjectMapper` you used in the tests was not configured correctly. Typically, `configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);` does the trick. Try using the pre-baked `TestHelper.JSON_MAPPER` in the unit test. -- 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]
