Github user NicoK commented on a diff in the pull request:
https://github.com/apache/flink/pull/5572#discussion_r170589597
--- Diff:
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/SpillableSubpartitionTest.java
---
@@ -332,8 +332,8 @@ public void
testConsumeSpillablePartitionSpilledDuringConsume() throws Exception
//TODO: re-enable this?
// assertEquals(BUFFER_DATA_SIZE * 4 + 4,
partition.getTotalNumberOfBytes());
- listener.awaitNotifications(3, 30_000);
- assertEquals(3, listener.getNumNotifications());
+ listener.awaitNotifications(2, 30_000);
+ assertEquals(2, listener.getNumNotifications());
--- End diff --
note that we will be notified once the spilled writer completes
---