[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to