summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorYang Yu <Gabriel.yuyang@huawei.com>2017-12-20 17:03:39 +0800
committerYang Yu <Gabriel.yuyang@huawei.com>2017-12-21 11:32:50 +0800
commitd44ed0fc0cbcb73f68494aee56615bdbe5dc419b (patch)
treef64f120e4b700da435e422effbb7767d17c1cf6a /testsuites
parent6a23b35f2b0286132c3bc9f4d4e19a42c7e2f45c (diff)
bug-fix: fix neutron quota setting
JIRA: BOTTLENECK-215 also fix the bug for type error: converted string Change-Id: Ic56b5ab5c49d8fdbcf49ba4571c2286d5f7bc422 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/posca/testcase_dashboard/posca_stress_ping.py2
-rwxr-xr-xtestsuites/posca/testcase_dashboard/posca_vnf_scale_out.py2
-rwxr-xr-xtestsuites/posca/testcase_dashboard/system_bandwidth.py2
-rw-r--r--testsuites/run_testsuite.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/posca/testcase_dashboard/posca_stress_ping.py b/testsuites/posca/testcase_dashboard/posca_stress_ping.py
index 7a5a8fb8..64ce3835 100644
--- a/testsuites/posca/testcase_dashboard/posca_stress_ping.py
+++ b/testsuites/posca/testcase_dashboard/posca_stress_ping.py
@@ -32,7 +32,7 @@ def dashboard_send_data(runner_config, test_data):
doc_type=test_data["testcase"],
body=test_data["data_body"])
if res['created'] == "False":
- LOG.error("date send to kibana have errors ", test_data["data_body"])
+ LOG.error("date send to kibana have errors %s", test_data["data_body"])
def posca_stress_ping(runner_config):
diff --git a/testsuites/posca/testcase_dashboard/posca_vnf_scale_out.py b/testsuites/posca/testcase_dashboard/posca_vnf_scale_out.py
index 7c894b88..6720b7f0 100755
--- a/testsuites/posca/testcase_dashboard/posca_vnf_scale_out.py
+++ b/testsuites/posca/testcase_dashboard/posca_vnf_scale_out.py
@@ -31,5 +31,5 @@ def dashboard_send_data(runner_config, test_data):
doc_type="vnf_scale_out",
body=i)
if res['created'] == "False":
- LOG.error("date send to kibana have errors ",
+ LOG.error("date send to kibana have errors %s",
test_data["data_body"])
diff --git a/testsuites/posca/testcase_dashboard/system_bandwidth.py b/testsuites/posca/testcase_dashboard/system_bandwidth.py
index 4501dee7..5479b670 100755
--- a/testsuites/posca/testcase_dashboard/system_bandwidth.py
+++ b/testsuites/posca/testcase_dashboard/system_bandwidth.py
@@ -31,7 +31,7 @@ def dashboard_send_data(runner_config, test_data):
doc_type=test_data["testcase"],
body=test_data["data_body"])
if res['created'] == "False":
- LOG.error("date send to kibana have errors ", test_data["data_body"])
+ LOG.error("date send to kibana have errors %s", test_data["data_body"])
def dashboard_system_bandwidth(runner_config):
diff --git a/testsuites/run_testsuite.py b/testsuites/run_testsuite.py
index e7276689..2e82b205 100644
--- a/testsuites/run_testsuite.py
+++ b/testsuites/run_testsuite.py
@@ -110,7 +110,7 @@ def testsuite_run(test_level, test_name, REPORT="False"):
try:
posca_testcase_run(tester_parser[0], testcase, config[testcase])
except Exception, e:
- LOG.warning('e.message:\t', e.message)
+ LOG.warning('e.message:\t%s', e.message)
stop_date = datetime.datetime.now()
LOG.info("End of %s testcase in POSCA testsuite", testcase)
criteria = "FAIL"