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:
@@ -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
|
||||
|
Reference in New Issue
Block a user