You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "OrDTesters (JIRA)" <ji...@apache.org> on 2018/11/12 02:28:00 UTC

[jira] [Created] (YARN-9009) Fix flaky test TestEntityGroupFSTimelineStore.testCleanLogs

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org