[
https://issues.apache.org/jira/browse/KAFKA-10789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924438#comment-17924438
]
Ryan Ye commented on KAFKA-10789:
---------------------------------
1. use mocked {{InMemoryKeyValueStore}} to streamlined the unit test
2. minor refactor including remove unnecessary {{public}} and rename the
variable inside the method with a different name with outside of the method.
> Streamlining Tests in ChangeLoggingKeyValueBytesStoreTest
> ---------------------------------------------------------
>
> Key: KAFKA-10789
> URL: https://issues.apache.org/jira/browse/KAFKA-10789
> Project: Kafka
> Issue Type: Improvement
> Components: streams, unit tests
> Reporter: Sagar Rao
> Assignee: Ryan Ye
> Priority: Minor
> Labels: newbie
>
> While reviewing, kIP-614, it was decided that tests for
> [CachingInMemoryKeyValueStoreTest.java|https://github.com/apache/kafka/pull/9508/files/899b79781d3412658293b918dce16709121accf1#diff-fdfe70d8fa0798642f0ed54785624aa9850d5d86afff2285acdf12f2775c3588]
> need to be streamlined to use mocked underlyingStore.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)