From 1d55fa080626139a3fb2426c84780c29c832b8ee Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Thu, 1 Oct 2015 13:29:53 +0200 Subject: [PATCH] [Verify] Adding new command `rally verify discover` This command will show a list of discovered tests which match given pattern. Example: $ rally verify discover --pattern baremetal 2016-02-03 22:03:55.172 28258 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf Discovered tests matching pattern 'baremetal': tempest.api.baremetal.admin.test_nodes.TestNodes.test_create_node[id-4e939eb2-8a69-4e84-8652-6fffcbc9db8f] tempest.api.baremetal.admin.test_nodes.TestNodes.test_delete_node[id-9ade60a4-505e-4259-9ec4-71352cbbaf47] tempest.api.baremetal.admin.test_nodes.TestNodes.test_get_console[id-f63b6288-1137-4426-8cfe-0d5b7eb87c06] ... Change-Id: Ia64c147fd67b6cf0264982bedd1e29c2fda48d74 --- etc/rally.bash_completion | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rally.bash_completion b/etc/rally.bash_completion index 8d7a882d..c36a4f8b 100644 --- a/etc/rally.bash_completion +++ b/etc/rally.bash_completion @@ -46,6 +46,7 @@ _rally() OPTS["task_validate"]="--deployment --task --task-args --task-args-file" OPTS["verify_compare"]="--uuid-1 --uuid-2 --csv --html --json --output-file --threshold" OPTS["verify_detailed"]="--uuid --sort-by" + OPTS["verify_discover"]="--deployment --pattern" OPTS["verify_genconfig"]="--deployment --tempest-config --override" OPTS["verify_import"]="--deployment --set --file --no-use" OPTS["verify_install"]="--deployment --source --system-wide" @@ -85,4 +86,4 @@ _rally() return 0 } -complete -o filenames -F _rally rally +complete -o filenames -F _rally rally \ No newline at end of file