Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
ghx-label-7
Description
Our current version of maven-surefire-plugin is 2.18 which does not support running a single parameterized test. For example, AuthorizationTest is a parameterized test class to support tests on file based auth and sentry based auth together. Currently, we can't run a single test method like:
(pushd fe && mvn test -Dtest=AuthorizationTest#TestDescribeTableResults[*])
I'm in branch-2.x. My head is e288128ba and I'm cherry-picking 9282fa3ba. AuthorizationTest#TestDescribeTableResults is the only test failures needed to fix.
We need to upgrade maven-surefire-plugin to at least 2.19 to support this: http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html#Multiple_Formats_in_One
Attachments
Issue Links
- links to