kfaraz commented on code in PR #16291:
URL: https://github.com/apache/druid/pull/16291#discussion_r1634121435
##########
indexing-service/src/test/java/org/apache/druid/indexing/common/task/ClientCompactionTaskQuerySerdeTest.java:
##########
@@ -328,17 +330,18 @@ private ClientCompactionTaskQuery
createCompactionTaskQuery(String id, ClientCom
new
ClientCompactionTaskDimensionsSpec(DimensionsSpec.getDefaultSchemas(ImmutableList.of("ts",
"dim"))),
METRICS_SPEC,
transformSpec,
- context
+ context,
+ new ClientCompactionRunnerInfo(CompactionEngine.NATIVE)
);
}
private CompactionTask
createCompactionTask(ClientCompactionTaskTransformSpec transformSpec)
{
CompactionTask.Builder compactionTaskBuilder = new CompactionTask.Builder(
"datasource",
- new SegmentCacheManagerFactory(MAPPER),
- new RetryPolicyFactory(new RetryPolicyConfig())
- )
+ new SegmentCacheManagerFactory(new TestUtils().getTestObjectMapper()),
Review Comment:
Nit: Why did the mapper need to be changed?
--
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]