Jiayi-Liao commented on a change in pull request #11567: URL: https://github.com/apache/flink/pull/11567#discussion_r413937089
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/ResultPartitionTest.java ########## @@ -360,6 +361,32 @@ private void testReleaseMemory(final ResultPartitionType resultPartitionType) th } } + /** + * Tests {@link ResultPartition#getAvailableFuture()}. + */ + @Test + public void testIsAvailableOrNot() throws IOException, InterruptedException { Review comment: I add this because it may help us verify the changes on `ResultPartitionWriter` (though most of them are API changes). I'll keep this. :) ---------------------------------------------------------------- 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