提交 cad0509a 编写于 作者: T Tzu-Li (Gordon) Tai

[FLINK-11073] [state backends, tests] Activate ignored...

[FLINK-11073] [state backends, tests] Activate ignored testKeyedListStateSerializerReconfiguration test in StateBackendMigrationTestBase

This test was previously ignored due to 2 missing changes:
- ListSerializerSnapshot was not respecting serializer reconfiguration
  (fixed by FLINK-11073), and
- RocksDBListState did not use the correct registered state serializer
  in backend's state meta info (fixed by FLINK-11287)

With those fixes in, the test can now be activated and expected to pass.
上级 e5ed8c85
...@@ -40,7 +40,6 @@ import org.apache.flink.util.StateMigrationException; ...@@ -40,7 +40,6 @@ import org.apache.flink.util.StateMigrationException;
import org.apache.flink.util.TestLogger; import org.apache.flink.util.TestLogger;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.rules.TemporaryFolder; import org.junit.rules.TemporaryFolder;
...@@ -192,7 +191,6 @@ public abstract class StateBackendMigrationTestBase<B extends AbstractStateBacke ...@@ -192,7 +191,6 @@ public abstract class StateBackendMigrationTestBase<B extends AbstractStateBacke
} }
@Test @Test
@Ignore("This currently doesn't pass because the ListSerializer doesn't respect the reconfigured case, yet.")
public void testKeyedListStateSerializerReconfiguration() throws Exception { public void testKeyedListStateSerializerReconfiguration() throws Exception {
final String stateName = "test-name"; final String stateName = "test-name";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册