zentol commented on a change in pull request #8761: [FLINK-12842][network] Fix
invalid check released state during ResultPartition#createSubpartitionView
URL: https://github.com/apache/flink/pull/8761#discussion_r295223513
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/ResultPartitionTest.java
##########
@@ -217,6 +218,24 @@ public void testAddOnBlockingPartition() throws Exception
{
testAddOnPartition(ResultPartitionType.BLOCKING);
}
+ /**
+ * Tests {@link ResultPartition#createSubpartitionView(int,
BufferAvailabilityListener)} would throw
Review comment:
this is incorrect. `ResultPartition#createSubpartitionView` is not throwing
the `PartitionNotFoundException`,
`ResultPartitionManager#createSubpartitionView` does since the partition is no
longer registered.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services