This is an automated email from the ASF dual-hosted git repository.
sewen pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.13 by this push:
new 6fbdb15 [FLINK-22545][tests] Fix delayed split assignment in
OperatorEventSendingCheckpointITCase
6fbdb15 is described below
commit 6fbdb15391fd26334841b540b82080e312066f82
Author: Stephan Ewen <[email protected]>
AuthorDate: Tue Aug 17 18:23:15 2021 +0200
[FLINK-22545][tests] Fix delayed split assignment in
OperatorEventSendingCheckpointITCase
---
.../operators/coordination/OperatorEventSendingCheckpointITCase.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/flink-tests/src/test/java/org/apache/flink/runtime/operators/coordination/OperatorEventSendingCheckpointITCase.java
b/flink-tests/src/test/java/org/apache/flink/runtime/operators/coordination/OperatorEventSendingCheckpointITCase.java
index f6bf272..a693325 100644
---
a/flink-tests/src/test/java/org/apache/flink/runtime/operators/coordination/OperatorEventSendingCheckpointITCase.java
+++
b/flink-tests/src/test/java/org/apache/flink/runtime/operators/coordination/OperatorEventSendingCheckpointITCase.java
@@ -303,6 +303,10 @@ public class OperatorEventSendingCheckpointITCase extends
TestLogger {
private void fullFillPendingRequests() {
for (int subtask : pendingRequests) {
+ // respond only to requests for which we still have registered
readers
+ if (!context.registeredReaders().containsKey(subtask)) {
+ continue;
+ }
super.handleSplitRequest(subtask, null);
}
pendingRequests.clear();