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


##########
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 looked for "Find usages" of the Executor class, then filtered by 
production code and "Usage in extends/implements clause".
   Ok, that's, indeed, a shorter list to parse. :+1: 



##########
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 looked for "Find usages" of the Executor class, then filtered by 
production code and "Usage in extends/implements clause".
   
   Ok, that's, indeed, a shorter list to parse. :+1: 



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