[
https://issues.apache.org/jira/browse/IMPALA-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nithya resolved IMPALA-4812.
----------------------------
Resolution: Fixed
> run-tests.py should pass along the pytest collect-only flag to impala-py.test
> -----------------------------------------------------------------------------
>
> Key: IMPALA-4812
> URL: https://issues.apache.org/jira/browse/IMPALA-4812
> Project: IMPALA
> Issue Type: Task
> Components: Infrastructure
> Affects Versions: Impala 2.9.0
> Reporter: Jim Apple
> Assignee: nithya
> Priority: Minor
> Labels: newbie
>
> From [~dknupp]:
> First, it is possible to to do a dry-run of sorts if you specify the
> {{--collect-only}} option. This will show exactly which tests would have been
> executed, taking into consideration all test vectors.
> Since {{run-tests.py}} doesn't seem to honor {{--collect-only}}, you have to
> use {{impala-py.test}} directly, which means you have to explicitly pass in
> the test directories that {{run-tests.py}} would have typically white-listed
> out for you. E.g., this is the command for getting an exhaustive dry-run:
> {{$ impala-py.test --exploration_strategy=exhaustive --collect-only failure/
> query_test/ stress/ aux_query_tests/ shell/ hs2/ catalog_service/ metadata/
> data_errors/ statestore/ unittests/}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)