kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damian Guy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-4657) Improve test coverage of CompositeReadOnlyWindowStore
Date Tue, 07 Mar 2017 14:56:38 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-4657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damian Guy updated KAFKA-4657:
------------------------------
    Description: 
No tests that cover what happens when {{windowStore.fetch(...)}} throw an {{InvalidStateStoreException}},
i.e., we should check that we get an {{InvalidStateStoreException}} with the modified message.

There are no tests that cover the {{WindowStoreIterator}} that is returned when there are
no results. In this case we should at least add tests that show the expected behaviour for
{{peekNextKey}}, {{hasNext}}, and {{next}} 

  was:exceptions not covered and internal iterator


> Improve test coverage of CompositeReadOnlyWindowStore
> -----------------------------------------------------
>
>                 Key: KAFKA-4657
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4657
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Damian Guy
>             Fix For: 0.11.0.0
>
>
> No tests that cover what happens when {{windowStore.fetch(...)}} throw an {{InvalidStateStoreException}},
i.e., we should check that we get an {{InvalidStateStoreException}} with the modified message.
> There are no tests that cover the {{WindowStoreIterator}} that is returned when there
are no results. In this case we should at least add tests that show the expected behaviour
for {{peekNextKey}}, {{hasNext}}, and {{next}} 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message