hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-7023) TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
Date Sat, 03 Mar 2018 00:25:00 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-7023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira Ajisaka updated MAPREDUCE-7023:
-------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.2
                   2.9.1
                   2.10.0
                   3.1.0
           Status: Resolved  (was: Patch Available)

Committed this to trunk, branch-3.1, branch-3.0, branch-2, and branch-2.9. Nice catch, [~GergelyNovak]!

> TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-7023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Gergely Novák
>            Assignee: Gergely Novák
>            Priority: Minor
>             Fix For: 3.1.0, 2.10.0, 2.9.1, 3.0.2
>
>         Attachments: MAPREDUCE-7023.001.patch
>
>
> Since the test doesn't clean up the created "logs" dir, when rerunning it fails on this
line:
> {code}
> Assert.assertEquals(0, hal.eligibleApplications.size());
> hal.checkFilesAndSeedApps(fs, rootLogDir, suffix);
>  >>> Assert.assertEquals(1, hal.eligibleApplications.size());
> java.lang.AssertionError: 
> Expected :1
> Actual   :2 (or more for consecutive reruns)
> {code}



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

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


Mime
View raw message