summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2016-02-05 16:01:47 +0000
committerMorgan Richomme <morgan.richomme@orange.com>2016-02-05 16:29:12 +0000
commit6263827c7f0db5b5f55ed0b0e5a9ed11b4d8dd0b (patch)
tree66a285ec5ea6b7c8710c5898764b96d4ec245fc7 /testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py
parent6f284917fc686b48c7c7f80f46b60f41f23c624b (diff)
Reduce the number of iterations to ten in rally scenarios
Change-Id: Ibefc3f5eeb57ff6a1daa0be26f482ed0376a0d40 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 01608c214878c19c9f01c60e1b08e106a5d684cf)
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py')
-rwxr-xr-xtestcases/VIM/OpenStack/CI/libraries/run_rally-cert.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py b/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py
index 265978503..0fb6ce7d4 100755
--- a/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py
+++ b/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py
@@ -101,7 +101,9 @@ SUPPORT_DIR = SCENARIOS_DIR + "scenario/support"
FLAVOR_NAME = "m1.tiny"
USERS_AMOUNT = 2
TENANTS_AMOUNT = 3
-CONTROLLERS_AMOUNT = 2
+ITERATIONS_AMOUNT = 10
+CONCURRENCY = 4
+
###
RESULTS_DIR = functest_yaml.get("general").get("directories"). \
get("dir_rally_res")
@@ -185,7 +187,8 @@ def build_task_args(test_file_name):
task_args['sup_dir'] = SUPPORT_DIR
task_args['users_amount'] = USERS_AMOUNT
task_args['tenants_amount'] = TENANTS_AMOUNT
- task_args['controllers_amount'] = CONTROLLERS_AMOUNT
+ task_args['iterations'] = ITERATIONS_AMOUNT
+ task_args['concurrency'] = CONCURRENCY
return task_args