You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2018/02/21 22:43:01 UTC

[jira] [Created] (KAFKA-6579) Consolidate window store and session store unit tests into a single class

Guozhang Wang created KAFKA-6579:
------------------------------------

             Summary: Consolidate window store and session store unit tests into a single class
                 Key: KAFKA-6579
                 URL: https://issues.apache.org/jira/browse/KAFKA-6579
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: Guozhang Wang


For key value store, we have a {{AbstractKeyValueStoreTest}} that is shared among all its implementations; however for window and session stores, each class has its own independent unit test classes that do not share the test coverage. In fact, many of these test classes share the same unit test functions (e.g. {{RocksDBWindowStoreTest}}, {{CompositeReadOnlyWindowStoreTest}} and {{CachingWindowStoreTest}}).

It is better to use the same pattern as for key value stores to consolidate these test functions into a shared base class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)