reswqa commented on code in PR #20229:
URL: https://github.com/apache/flink/pull/20229#discussion_r917850634


##########
flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/core/testutils/CheckedThread.java:
##########
@@ -120,7 +154,7 @@ private void checkError() throws Exception {
 
     private void checkFinished() throws Exception {
         if (getState() != State.TERMINATED) {
-            throw new Exception(
+            throw new TimeoutException(

Review Comment:
   I think maybe it's more reasonable to use TimeoutException here?



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to