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

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.2.0
    • test
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: