From 42e04005a9fb909282c9456c674f4c139b8f3bd2 Mon Sep 17 00:00:00 2001 From: rabi Date: Thu, 4 May 2017 20:15:27 +0530 Subject: [PATCH] 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 --- heat_integrationtests/post_test_hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/heat_integrationtests/post_test_hook.sh b/heat_integrationtests/post_test_hook.sh index b12f1887f7..51c76a0df1 100755 --- a/heat_integrationtests/post_test_hook.sh +++ b/heat_integrationtests/post_test_hook.sh @@ -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