liming30 commented on code in PR #23059:
URL: https://github.com/apache/flink/pull/23059#discussion_r1272950175


##########
flink-runtime/src/test/java/org/apache/flink/runtime/operators/coordination/RecreateOnResetOperatorCoordinatorTest.java:
##########
@@ -264,6 +264,19 @@ public void testConsecutiveResetToCheckpoint() throws 
Exception {
                 "Timed out when waiting for the coordinator to close.");
     }
 
+    @Test
+    public void testNotifyCheckpointAbortedSuccess() throws Exception {
+        TestingCoordinatorProvider provider = new 
TestingCoordinatorProvider(null);
+        MockOperatorCoordinatorContext context =
+                new MockOperatorCoordinatorContext(OPERATOR_ID, NUM_SUBTASKS);
+        RecreateOnResetOperatorCoordinator coordinator = 
createCoordinator(provider, context);
+        TestingOperatorCoordinator internalCoordinatorAfterReset =
+                getInternalCoordinator(coordinator);
+
+        coordinator.notifyCheckpointAborted(1L);
+        
assertThat(internalCoordinatorAfterReset.getLastCheckpointAborted()).isEqualTo(1L);

Review Comment:
   @1996fanrui thanks, I have updated this part of the code.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to