You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Gergely Novák (JIRA)" <ji...@apache.org> on 2017/12/14 12:02:00 UTC

[jira] [Updated] (MAPREDUCE-7023) TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun

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

Gergely Novák updated MAPREDUCE-7023:
-------------------------------------
    Description: 
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}

  was:
Since the test doesn't clean up the created "logs" dir, when rerunning it 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}


> 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
>         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
(v6.4.14#64029)

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