[ 
https://issues.apache.org/jira/browse/KAFKA-16223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842328#comment-17842328
 ] 

Chia-Ping Tsai edited comment on KAFKA-16223 at 4/30/24 10:29 AM:
------------------------------------------------------------------

It seems `KafkaConfigBackingStoreMockitoTest` offers many helpful captures to 
simplify the migration. For example, 
`testConsumerPropertiesNotInsertedByDefaultWithoutExactlyOnceSourceEnabled`, 
`testConsumerPropertiesOverrideUserSuppliedValuesWithExactlyOnceSourceEnabled`, 
`testConsumerPropertiesInsertedByDefaultWithExactlyOnceSourceEnabled`, 
`testFencableProducerPropertiesInsertedByDefault, and 
`testExceptionOnStartWhenConfigTopicHasMultiplePartitions` can be migrated to 
`KafkaConfigBackingStoreMockitoTest` by using `capturedConsumerProps`.


was (Author: chia7712):
It seems `KafkaConfigBackingStoreMockitoTest` offers many helpful captures to 
simplify the migration. For example, 
`testConsumerPropertiesNotInsertedByDefaultWithoutExactlyOnceSourceEnabled`, 
`testConsumerPropertiesOverrideUserSuppliedValuesWithExactlyOnceSourceEnabled`, 
and `testConsumerPropertiesInsertedByDefaultWithExactlyOnceSourceEnabled` can 
be migrated to `KafkaConfigBackingStoreMockitoTest` by using 
`capturedConsumerProps`.

> Replace EasyMock and PowerMock with Mockito for KafkaConfigBackingStoreTest
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-16223
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16223
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: connect
>            Reporter: Hector Geraldino
>            Assignee: Hector Geraldino
>            Priority: Minor
>             Fix For: 3.8.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to