Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5416#discussion_r175702568
  
    --- Diff: 
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionFIFOITCase.java 
---
    @@ -105,7 +105,7 @@ public void testDetachedMode() throws 
InterruptedException, IOException {
                }
     
                //additional sleep for the JM/TM to start and establish 
connection
    -           sleep(2000);
    +           sleep(3000);
    --- End diff --
    
    For that we should have a timeout. If the timeout is triggered, then the 
test should fail.
    
    A simplest approach would be to periodically check for this condition until 
you've exceeded the timeout time.


---

Reply via email to