Put the regex first
This commit add regex first while running tempest tox There is changes in way tempest tox runs tests by using the tempest run command directly instead of some bash script. With tempest run you specify a regex with a '--regex' parameter and to keep backwards compatibility this is added to the tempest tox definitions. But in gnocchi post_test_hook regex is being used after concurrency and ends up having a call equivalent to: tempest run --regex --concurrency=2 gnocchi which obviously is incorrect. Simply switching the arg order should work here. Change-Id: Ibaffa3a8568ea058d964463df4b76196c4d2bc7a Need-by: I3684fce66a799579fa68af119652cafef25a9f03
This commit is contained in:
parent
a4b12efa21
commit
e326a0612f
|
@ -57,7 +57,7 @@ sudo chown -R tempest:stack $BASE/data/tempest
|
|||
# Run tests with tempst
|
||||
cd $BASE/new/tempest
|
||||
set +e
|
||||
sudo -H -u tempest OS_TEST_TIMEOUT=$TEMPEST_OS_TEST_TIMEOUT tox -eall-plugin -- --concurrency=$TEMPEST_CONCURRENCY gnocchi
|
||||
sudo -H -u tempest OS_TEST_TIMEOUT=$TEMPEST_OS_TEST_TIMEOUT tox -eall-plugin -- gnocchi --concurrency=$TEMPEST_CONCURRENCY
|
||||
TEMPEST_EXIT_CODE=$?
|
||||
set -e
|
||||
if [[ $TEMPEST_EXIT_CODE != 0 ]]; then
|
||||
|
|
Loading…
Reference in New Issue