jinxing64 commented on a change in pull request #16118: URL: https://github.com/apache/flink/pull/16118#discussion_r671047190
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/TestingJobMasterPartitionTracker.java ########## @@ -25,20 +25,23 @@ import java.util.function.BiConsumer; import java.util.function.Consumer; import java.util.function.Function; +import java.util.function.Supplier; /** Test {@link JobMasterPartitionTracker} implementation. */ public class TestingJobMasterPartitionTracker implements JobMasterPartitionTracker { private Function<ResourceID, Boolean> isTrackingPartitionsForFunction = ignored -> false; private Function<ResultPartitionID, Boolean> isPartitionTrackedFunction = ignored -> false; private Consumer<ResourceID> stopTrackingAllPartitionsConsumer = ignored -> {}; - private Consumer<ResourceID> stopTrackingAndReleaseAllPartitionsConsumer = ignored -> {}; - private Consumer<ResourceID> stopTrackingAndReleaseOrPromotePartitionsConsumer = ignored -> {}; private BiConsumer<ResourceID, ResultPartitionDeploymentDescriptor> startTrackingPartitionsConsumer = (ignoredA, ignoredB) -> {}; private Consumer<Collection<ResultPartitionID>> stopTrackingAndReleasePartitionsConsumer = ignored -> {}; + private Consumer<Collection<ResultPartitionID>> + stopTrackingAndReleaseOrPromotePartitionsConsumer = ignored -> {}; private Consumer<Collection<ResultPartitionID>> stopTrackingPartitionsConsumer = ignored -> {}; + private Supplier<Collection<ResultPartitionDeploymentDescriptor>> getAllTrackedPartitions = Review comment: resolved -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org