Use group_regex to group gabbi api tests

It seems that the tempest test runs at the gate are using
eight workers and the api tests distributed to multiple workers
from the same gabbi test yaml can result in in-consistencies[1].

[1] https://gabbi.readthedocs.io/en/latest/loader.html

Change-Id: I55d237358ec8a53ceeee51b0a982e1da4b1b23ee
This commit is contained in:
rabi 2017-05-04 20:15:27 +05:30
parent fc8958fd76
commit 42e04005a9

View File

@ -21,6 +21,7 @@ sudo -E $DEST/heat/heat_integrationtests/prepare_test_env.sh
sudo -E $DEST/heat/heat_integrationtests/prepare_test_network.sh
cd $DEST/tempest
sudo sed -i -e '/group_regex/c\group_regex=heat_integrationtests\\.api\\.test_heat_api(?:\\.|_)([^_]+)' .testr.conf
sudo tempest run --regex heat_integrationtests
sudo -E $DEST/heat/heat_integrationtests/cleanup_test_env.sh