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

    https://github.com/apache/flink/pull/5416#discussion_r176230467
  
    --- Diff: 
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionFIFOITCase.java 
---
    @@ -106,8 +106,16 @@ public void testDetachedMode() throws 
InterruptedException, IOException {
                        }
                }
     
    -           //additional sleep for the JM/TM to start and establish 
connection
    -           sleep(3000);
    +           // additional sleep for the JM/TM to start and establish 
connection
    +           long startTime = System.currentTimeMillis();
    +           while (System.currentTimeMillis() - startTime < 10000 &&
    --- End diff --
    
    done


---

Reply via email to