tillrohrmann commented on a change in pull request #16432:
URL: https://github.com/apache/flink/pull/16432#discussion_r666843775



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/operators/coordination/OperatorCoordinatorHolderTest.java
##########
@@ -446,6 +525,27 @@ public OperatorCoordinator 
create(OperatorCoordinator.Context context) {
         return holder;
     }
 
+    private static class ReorderableManualExecutorService
+            extends ManuallyTriggeredScheduledExecutorService {
+
+        private boolean pendingNewRunnables;
+
+        private final Queue<Runnable> pendingRunnables = new ArrayDeque<>();
+
+        public void setPendingNewRunnables(boolean pendingNewRunnables) {

Review comment:
       Sounds good.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to