austince commented on a change in pull request #15348:
URL: https://github.com/apache/flink/pull/15348#discussion_r602277087



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointMetadataLoadingTest.java
##########
@@ -213,7 +214,7 @@ private static CompletedCheckpointStorageLocation 
createSavepointWithOperatorSub
                 
.thenReturn(Collections.singletonList(OperatorIDPair.generatedIDOnly(operatorId)));
 
         if (parallelism != maxParallelism) {
-            when(vertex.isMaxParallelismConfigured()).thenReturn(true);
+            when(vertex.canRescaleMaxParallelism(anyInt())).thenReturn(true);

Review comment:
       Yes, oops. It was on my list to remove the mocking entirely from here. 




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


Reply via email to