Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15475 Fix broken unit tests on Windows
  3. HADOOP-15498

TestHadoopArchiveLogs (#testGenerateScript, #testPrepareWorkingDir) fails on Windows

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • None
    • Reviewed

    Description

      TestHadoopArchiveLogs#testGenerateScript fails on Windows because script generation uses "\n", but description uses System.lineSeparator().

      TestHadoopArchiveLogs#testPrepareWorkingDir fails on Windows because according to sticky bit wiki, sticky bit is for Unix-like system.

      Attachments

        1. HADOOP-15498.000.patch
          3 kB
          Anbang Hu
        2. HADOOP-15498-branch-2.001.patch
          3 kB
          Anbang Hu
        3. HADOOP-15498.001.patch
          3 kB
          Anbang Hu

        Issue Links

          Activity

            People

              huanbang1993 Anbang Hu
              huanbang1993 Anbang Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: