You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/05/19 20:32:00 UTC
[jira] [Resolved] (IMPALA-6289) Support expressions to match
multiple names on run-tests.py
[ https://issues.apache.org/jira/browse/IMPALA-6289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong resolved IMPALA-6289.
-----------------------------------
Resolution: Cannot Reproduce
> Support expressions to match multiple names on run-tests.py
> -----------------------------------------------------------
>
> Key: IMPALA-6289
> URL: https://issues.apache.org/jira/browse/IMPALA-6289
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Reporter: Jin Chul Kim
> Priority: Minor
> Labels: newbie
>
> We can specify an expression with -k option to run only substring matched classes or functions.
> (Please see ./tests/run-tests.py --help if you would look at more details)
> Sometime I would like to run a combination of different function names on a single command.
> Here is my use case. I need to re-run several failed test cases only.
> Example for expected test names to run:
> {noformat}
> ./tests/run-tests.py shell/test_shell_commandline.py -k 'test_query_cancel test_execute'
> or
> ./tests/run-tests.py shell/test_shell_commandline.py -k 'test_query_cancel, test_execute'
> or
> any other form
> {noformat}
> Example for unexpected test names to run:
> {noformat}
> ./tests/run-tests.py shell/test_shell_commandline.py -k '-test_query_cancel -test_execute'
> or
> ./tests/run-tests.py shell/test_shell_commandline.py -k '-test_query_cancel, -test_execute'
> or
> any other form
> {noformat}
> Please feel free to suggest if you have any other better format to pass the arguments.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)