zentol commented on a change in pull request #15415:
URL: https://github.com/apache/flink/pull/15415#discussion_r603318617



##########
File path: 
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionFIFOITCase.java
##########
@@ -161,16 +161,24 @@ void runDetachedModeTest(Map<String, String> 
securityProperties) throws Exceptio
         }
 
         // make sure we have two TMs running in either mode
+        final long timeoutInSecs = 10;
         long startTime = System.nanoTime();
-        while (System.nanoTime() - startTime < 
TimeUnit.NANOSECONDS.convert(10, TimeUnit.SECONDS)
+        while (System.nanoTime() - startTime

Review comment:
       how about we rely on existing utilities instead?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to