zentol commented on code in PR #20811:
URL: https://github.com/apache/flink/pull/20811#discussion_r968352796


##########
flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/testutils/executor/FailingExecutor.java:
##########
@@ -0,0 +1,16 @@
+package org.apache.flink.testutils.executor;
+
+import javax.annotation.Nonnull;
+
+import java.util.concurrent.Executor;
+import java.util.concurrent.RejectedExecutionException;
+
+/** {@code FailingExecutor} will reject any {@link Runnable} that's passed 
into it. */
+public enum FailingExecutor implements Executor {

Review Comment:
   I'd be fine with keeping it in flink-runtime because at this time we have 
barely any usages of it; and its quite special anyway.
   
   I think we should watch out for what we add to the test-utils because that's 
ultimately user-facing.



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