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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      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-branch-2.001.patch
          3 kB
          Anbang Hu
        2. HADOOP-15498.001.patch
          3 kB
          Anbang Hu
        3. HADOOP-15498.000.patch
          3 kB
          Anbang Hu

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: