Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
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.