Dmitriy Linevich created FLINK-33034:
----------------------------------------

             Summary: Incorrect StateBackendTestBase#testGetKeysAndNamespaces
                 Key: FLINK-33034
                 URL: https://issues.apache.org/jira/browse/FLINK-33034
             Project: Flink
          Issue Type: Bug
          Components: Runtime / State Backends
    Affects Versions: 1.17.1, 1.15.0, 1.12.2
            Reporter: Dmitriy Linevich
             Fix For: 1.17.1, 1.15.0
         Attachments: image-2023-09-05-12-51-28-203.png

In this test first namespace 'ns1' doesn't exist in state, because creating 
ValueState is incorrect for test. Need ti fix it to change creating ValueState 
or to change process of updating this state.

 

If to add following code for checking count of adding namespaces to state 
[here|https://github.com/apache/flink/blob/3e6a1aab0712acec3e9fcc955a28f2598f019377/flink-runtime/src/test/java/org/apache/flink/runtime/state/StateBackendTestBase.java#L501C28-L501C28]
{code:java}
assertThat(keysByNamespace.size(), is(2)); {code}
then

!image-2023-09-05-12-51-28-203.png!



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

Reply via email to