zhijiangW commented on a change in pull request #11687: URL: https://github.com/apache/flink/pull/11687#discussion_r411451984
########## File path: flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/StreamTaskTest.java ########## @@ -914,7 +914,9 @@ public void testInitializeResultPartitionState() throws Exception { MockEnvironment mockEnvironment = new MockEnvironmentBuilder().build(); mockEnvironment.addOutputs(Arrays.asList(partitions)); - StreamTask task = new MockStreamTaskBuilder(mockEnvironment).build(); + StreamConfig config = new StreamConfig(new Configuration()); + config.setUnalignedCheckpointsEnabled(true); Review comment: The current default value for `ExecutionCheckpointingOptions#ENABLE_UNALIGNED` is still false. But in `StreamTask#beforeInvoke` the channel state recovery is only called when enabling unaligned mode. So ATM we still need this explicit setting for making the test through. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org