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

Add a config value to CLITestHelper to skip tests on Windows

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.2.0
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      We want to add a configuration to CLITestHelper so we can skip some tests on Windows. We want this feature because some test cases in TestHDFSCLI should not be tested on Windows. Or more specifically, the globbing test cases. The differences are explained in HDFS-4632. The proposed syntax looks like follows.

      <test> <!-- TESTED -->
            <description>ls: Negative test for quoted /*/* globbing </description>
            <windows>false</windows>
      

      When Windows set to false, we will skip running the test on Windows.

        Attachments

        1. HADOOP-9948.2.patch
          2 kB
          Chris Nauroth
        2. HADOOP-9948.patch
          3 kB
          Chuan Liu

          Issue Links

            Activity

              People

              • Assignee:
                chuanliu Chuan Liu
                Reporter:
                chuanliu Chuan Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: