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

Alieh Saeedi commented on KAFKA-20328:
--------------------------------------

[~muralibasani] Thanks. I reviewed your [2/N] PR. 
Is a [3/N] planned? If yes, please do it in a single follow-up PR to expedite 
closing this ticket. Thanks.

A few wrapper layers still lack direct tests:
 * KeyValueTimestampedHeaderStoreToKeyValueTimestampStoreAdapter,
 * WindowedTimestampedHeadersStoreToWindowedTimestampedStoreAdapter,
 * MeteredWindowedKeyValueWithHeadersIterator,
 * CachingKeyValueStoreWithHeaders.
 * It might also be worth extending the completeness checks to the decorators 
and the other adapters.

 

> Audit and extend test coverage for all headers-aware APIs
> ---------------------------------------------------------
>
>                 Key: KAFKA-20328
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20328
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Alieh Saeedi
>            Assignee: Muralidhar Basani
>            Priority: Minor
>
> Audit and improve unit/integration test coverage for header-aware state 
> stores and their decorator/forwarding layers so that regressions like missing 
> method overrides (e.g., {{{}backwardFetch(){}}}, 
> {{{}backwardFindSessions(){}}}) are caught by tests rather than by manual 
> testing.
> h3. Goal
> Define and implement stronger test coverage and test patterns around:
>  * Headers-aware KV, window, and session stores.
>  * Their decorator/forwarding classes (e.g., {{AbstractReadWriteDecorator}} / 
> {{AbstractReadX}} families).
>  * Any other layers that proxy or wrap state store APIs.
> h3. Steps
>  # Audit existing tests
>  ** Survey current unit and integration tests for:
>  *** Header-aware KV/window/session stores (including KIP-1271 work).
>  *** {{AbstractReadWriteDecorator}} / {{AbstractReadX}} and similar 
> forwarder/decorator classes.
>  # Implement and wire tests



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

Reply via email to