OrDTesters created YARN-9009:
--------------------------------

             Summary: Fix flaky test 
TestEntityGroupFSTimelineStore.testCleanLogs
                 Key: YARN-9009
                 URL: https://issues.apache.org/jira/browse/YARN-9009
             Project: Hadoop YARN
          Issue Type: Bug
         Environment: Ubuntu 18.04
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
 
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T13:33:14-05:00)
            Reporter: OrDTesters


In TestEntityGroupFSTimelineStore, testCleanLogs fails when run after 
testMoveToDone.

This is because testMoveToDone moves a file into the same directory that 
testCleanLogs cleans, causing testCleanLogs to clean 3 files, instead of 2 as 
it expects.

To fix this, we can delete the file after it is moved by testMoveToDone.

Pull request link: to be added



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to