XComp commented on code in PR #20811:
URL: https://github.com/apache/flink/pull/20811#discussion_r968332071
##########
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:
Ok, I wouldn't have looked there. Out of curiosity: Is there a faster way of
identifying it other than going through the type hierarchy of `Executor` in
Intellij?
But considering that: Doesn't it make sense to move that one into
`flink-test-utils-junit`? To raise awareness? WDYT?
--
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]