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

Use JUnit assumptions to skip platform-specific tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1-win, 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Certain tests for platform-specific functionality are either executed only on Windows or bypass on Windows using checks like "if (Path.WINDOWS)" e.g. TestNativeIO.

      Prefer using jUnit assumptions instead.

        Attachments

        1. HADOOP-9427.001.patch
          59 kB
          Gergely Novák
        2. HADOOP-9427.002.patch
          64 kB
          Gergely Novák
        3. HADOOP-9427.003.patch
          64 kB
          Gergely Novák
        4. HADOOP-9427.004.patch
          64 kB
          Gergely Novák
        5. HADOOP-9427.005.patch
          67 kB
          Gergely Novák
        6. HADOOP-9427.006.patch
          67 kB
          Gergely Novák
        7. HADOOP-9427.007.patch
          67 kB
          Gergely Novák

          Activity

            People

            • Assignee:
              GergelyNovak Gergely Novák
              Reporter:
              arp Arpit Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: