summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-02-05 16:29:03 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-05 16:29:04 +0000
commit03b83a550137b8a69b953c574f90513f5034204c (patch)
tree66a285ec5ea6b7c8710c5898764b96d4ec245fc7 /testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py
parentc348fa9a9dcd8fd4fb4d83b36d441e3c949af390 (diff)
parent01608c214878c19c9f01c60e1b08e106a5d684cf (diff)
Merge "Reduce the number of iterations to ten in rally scenarios"
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