Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7023

TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0, 2.10.0, 2.9.1, 3.0.3
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Since the test doesn't clean up the created "logs" dir, when rerunning it fails on this line:

      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)
      

        Attachments

        1. MAPREDUCE-7023.001.patch
          0.8 kB
          Gergely Novák

        Issue Links

          Activity

            People

            • Assignee:
              GergelyNovak Gergely Novák
              Reporter:
              GergelyNovak Gergely Novák

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment