summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/run_posca.py
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2017-02-16 12:30:12 +0800
committerAce Lee <liyin11@huawei.com>2017-02-17 06:15:45 +0000
commit58c97253eaaf72f73924837fca4ddcb5cb8a5d94 (patch)
tree506b5cf15b80578433600693434aa54f473a8d26 /testsuites/posca/run_posca.py
parentbe6453bb485c720278c5f6a45a5194391e454ce4 (diff)
stress test of ping testcase
JIRA:BOTTLENECK-136 those code will add a new testcase: posca_stress_ping This will use docker python client to realize the fountion of calling yardstick to test. And yardstick will create several VM pairs to test. Because of the limites of quotas, we now create 2,5,10 VM pairs. Change-Id: I096250c547cd598c7c632a884b31d81c2be125f8 Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'testsuites/posca/run_posca.py')
-rwxr-xr-xtestsuites/posca/run_posca.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/posca/run_posca.py b/testsuites/posca/run_posca.py
index 72a0d4c2..3e23a37a 100755
--- a/testsuites/posca/run_posca.py
+++ b/testsuites/posca/run_posca.py
@@ -16,6 +16,7 @@ and if you run "python run_posca", this will run testcase,
posca_factor_system_bandwidth by default.'''
import importlib
+import sys
import utils.parser as conf_parser
import utils.logger as log
INTERPRETER = "/usr/bin/python"
@@ -47,8 +48,8 @@ def posca_run(test_level, test_name):
def main():
- test_level = "testcase"
- test_name = "posca_factor_system_bandwidth"
+ test_level = sys.argv[1]
+ test_name = sys.argv[2]
posca_run(test_level, test_name)