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

TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0, 2.10.0, 2.9.1, 3.0.3
    • test
    • None
    • 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

              GergelyNovak Gergely Novák
              GergelyNovak Gergely Novák
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: