[jira] [Created] (FLINK-5277) missing unit test for ensuring ResultPartition#add always recycles buffers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-5277) missing unit test for ensuring ResultPartition#add always recycles buffers

Shang Yuanchun (Jira)
Nico Kruber created FLINK-5277:
----------------------------------

             Summary: missing unit test for ensuring ResultPartition#add always recycles buffers
                 Key: FLINK-5277
                 URL: https://issues.apache.org/jira/browse/FLINK-5277
             Project: Flink
          Issue Type: Bug
            Reporter: Nico Kruber


We rely on ResultPartition to recycle the buffer if the add calls fails.

It makes sense to add a special test (to ResultPartitionTest or RecordWriterTest) where we ensure that this actually happens to guard against future behaviour changes in ResultPartition.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)