Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15475

Fix broken unit tests on Windows

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0, 2.9.1
    • None
    • None

    Description

      There are hundreds of unit tests that fail on Windows. This JIRA tracks the effort to fix them.

      The main reasons for unit test failures on Windows are:

      • Windows/Linux path formats (e.g., HDFS-10256).
      • Line separator.
      • Locked files: Windows locks files when opening them.
        • The typical trigger is not cleaning MiniDFSCluster leaves files locked when a test times out; they need to be cleaned using After.
      • Memory lock size.
      • Slow DNS resolution (e.g., HDFS-13569).
      • Locked ports (e.g., HDFS-11700)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: