This is an automated email from the ASF dual-hosted git repository.

sewen pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.12 by this push:
     new c22c3da  [FLINK-22545][tests] Fix delayed split assignment in 
OperatorEventSendingCheckpointITCase
c22c3da is described below

commit c22c3daa1ff661c32c21f6a8a16cfc0926d5895a
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 9ca560c..24dc12e 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
@@ -280,6 +280,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();

Reply via email to