1996fanrui commented on code in PR #23198:
URL: https://github.com/apache/flink/pull/23198#discussion_r1297192247


##########
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/TestJvmProcess.java:
##########
@@ -316,18 +317,16 @@ public static void waitForMarkerFile(File file, long 
timeoutMillis)
             Thread.sleep(10);
         }
 
-        if (!exists) {
-            fail("The marker file was not found within " + timeoutMillis + " 
msecs");
-        }
+        assertThat(exists)
+                .as("The marker file was not found within " + timeoutMillis + 
" msecs")

Review Comment:
   Thanks @X-czh 's review, updated!



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