From d773cac028d4e45cb61d4d27c3917bde5070cddb Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Mon, 17 Apr 2017 15:08:07 -0400 Subject: [PATCH] Fix tempest all jobs The all jobs on tempest are supposed to run all tests without a regex filter. However this was broken by (I really wish I could say recently) tempest change I3684fce66a799579fa68af119652cafef25a9f03 which switched to tempest run. Since the primary use of the all tox target there is plugin jobs which almost always run with a regex we added a '--regex' argument there for backwards compatibility to not break other projects. This however broke the all job because a --regex needs an argument. This commit fixes this by adding the "regex" tempest which will match all tests in the tempest repo and have the same net effect as not specifying a selection regex at all. Change-Id: I855a8ec30ed45f0b8227325f76bf48bd9e1e5988 --- devstack-vm-gate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index d9d38588..1dce1f48 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -856,7 +856,7 @@ if [[ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]]; then sudo -H -u tempest .tox/all-plugin/bin/tempest list-plugins elif [[ "$DEVSTACK_GATE_TEMPEST_ALL" -eq "1" ]]; then echo "Running tempest all test suite" - $TEMPEST_COMMAND -eall -- --concurrency=$TEMPEST_CONCURRENCY + $TEMPEST_COMMAND -eall -- 'tempest' --concurrency=$TEMPEST_CONCURRENCY elif [[ "$DEVSTACK_GATE_TEMPEST_DISABLE_TENANT_ISOLATION" -eq "1" ]]; then echo "Running tempest full test suite serially" $TEMPEST_COMMAND -efull-serial