[ https://issues.apache.org/jira/browse/FLINK-5619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzu-Li (Gordon) Tai closed FLINK-5619. -------------------------------------- Resolution: Fixed Fix Version/s: (was: 1.3.3) 1.3.4 > Consolidate State tests > ------------------------ > > Key: FLINK-5619 > URL: https://issues.apache.org/jira/browse/FLINK-5619 > Project: Flink > Issue Type: Bug > Components: State Backends, Checkpointing > Affects Versions: 1.3.0 > Reporter: Aljoscha Krettek > Assignee: Aljoscha Krettek > Priority: Major > Fix For: 1.3.4, 1.4.0 > > > Right now, there are {{HeapListStateTest}}/{{RocksDBListStateTest}}, > {{HeapReducingStateTest}}/{{RocksDBReducingStateTest}} and > {{HeapAggregatingStateTest}}/{{RocksDBAggregatingStateTest}}. They test the > same thing and should be folded back into {{StateBackendTestBase}} to ensure > that all state backends exhibit the same behaviour. > The Heap-flavoured tests additionally check whether the state table is empty, > this can be achieved across all state backends by introducing > {{AbstractKeyedStateBackend.numStateEntries()}} that returns the number of > all state entries. For the heap backend this would count the number of > entries in the state table, for RocksDB this would get an iterator for each > column family and count the number of entries. > This way we have the best coverage for all state backends and ensure that > they all behave the same. -- This message was sent by Atlassian JIRA (v7.6.3#76005)