summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/testcase_dashboard/system_bandwidth.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/testcase_dashboard/system_bandwidth.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/testcase_dashboard/system_bandwidth.py')
-rwxr-xr-xtestsuites/posca/testcase_dashboard/system_bandwidth.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/posca/testcase_dashboard/system_bandwidth.py b/testsuites/posca/testcase_dashboard/system_bandwidth.py
index e95ff214..155ca2df 100755
--- a/testsuites/posca/testcase_dashboard/system_bandwidth.py
+++ b/testsuites/posca/testcase_dashboard/system_bandwidth.py
@@ -17,9 +17,10 @@ from utils.parser import Parser as conf_parser
LOG = log.Logger(__name__).getLogger()
config = ConfigParser.ConfigParser()
es = Elasticsearch()
-dashboard_dir = os.path.join(conf_parser.test_dir,
- "posca",
- "testcase_dashboard")
+dashboard_path = os.path.join(conf_parser.test_dir,
+ "posca",
+ "testcase_dashboard")
+dashboard_dir = dashboard_path + "/"
def dashboard_send_data(runner_config, test_data):