Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7254

Enhance Ptest framework config to auto-pick up list of MiniXXXDriver's test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Testing Infrastructure
    • None

    Description

      Today, the Hive PTest infrastructure has a test-driver configuration called "directory", so it will run all the qfiles under that directory for that driver. For example, CLIDriver is configured with directory "ql/src/test/queries/clientpositive"

      However the configuration for the miniXXXDrivers (miniMRDriver, miniMRDriverNegative, miniTezDriver) run only a select number of tests under "directory". So we have to use the "include" configuration to hard-code a list of tests for it to run. This is duplicating the list of each miniDriver's tests already in the /itests/qtest pom file, and can get out of date.

      It would be nice if both got their information the same way.

      Attachments

        1. trunk-mr2.properties
          8 kB
          Szehon Ho

        Issue Links

          Activity

            People

              szehon Szehon Ho
              szehon Szehon Ho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: