From a659738b11eeaaf628a019e21e04e7c372672a35 Mon Sep 17 00:00:00 2001 From: Andrew Kerr <andrew.kerr@netapp.com> Date: Tue, 16 Feb 2016 10:38:35 -0500 Subject: [PATCH] Allow DHSS=False tests to override Tempest concurrency The post_test_hook.sh script was hardcoding the Tempest concurrency setting to 8 for DHSS=False test runs. This patch has it honor the MANILA_TEMPEST_CONCURRENCY environment variable, if it exists. Change-Id: Ia2f0495560517484ba4d9290ced2c4dc3de6fb34 Closes-bug: 1546150 --- contrib/ci/post_test_hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ci/post_test_hook.sh b/contrib/ci/post_test_hook.sh index 89f577e5ca..64c8836c21 100755 --- a/contrib/ci/post_test_hook.sh +++ b/contrib/ci/post_test_hook.sh @@ -114,7 +114,7 @@ if [[ "$MULTITENANCY_ENABLED" == "False" ]]; then # volume creation in Cinder using Generic driver. So, reduce amount of # threads to avoid errors for Cinder volume creations that appear # because of lack of free space. - MANILA_TEMPEST_CONCURRENCY=8 + MANILA_TEMPEST_CONCURRENCY=${MANILA_TEMPEST_CONCURRENCY:-8} fi # let us control if we die or not