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

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

    [ https://issues.apache.org/jira/browse/YARN-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714062#comment-16714062 ] 

OrDTesters commented on YARN-9009:
----------------------------------

[~tangzhankun] It appears that the build was successful. Are there any additional steps I should take or is this ready to be accepted?

> 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
>            Priority: Minor
>         Attachments: YARN-9009-trunk-001.patch
>
>
> In TestEntityGroupFSTimelineStore, testCleanLogs fails when run after testMoveToDone.
> testCleanLogs fails because testMoveToDone moves a file into the same directory that testCleanLogs cleans, causing testCleanLogs to clean 3 files, instead of 2 as testCleanLogs expects.
> To fix the failure of testCleanLogs, we can delete the file after the file is moved by testMoveToDone.
> Pull request link: [https://github.com/apache/hadoop/pull/438]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org