summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/testcase_dashboard/system_bandwidth.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/posca/testcase_dashboard/system_bandwidth.py')
-rwxr-xr-xtestsuites/posca/testcase_dashboard/system_bandwidth.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuites/posca/testcase_dashboard/system_bandwidth.py b/testsuites/posca/testcase_dashboard/system_bandwidth.py
index 69020c04..92dc0b5c 100755
--- a/testsuites/posca/testcase_dashboard/system_bandwidth.py
+++ b/testsuites/posca/testcase_dashboard/system_bandwidth.py
@@ -42,7 +42,12 @@ doc={
"defaultIndex": "bottlenecks"
}
res = es.index(index=".kibana",doc_type="config",id="4.6.1",body=doc)
-print(res['created'])
+
+if res['created']=="True":
+ print("bottlenecks config has created")
+else:
+ print("bottlenecks config has existed")
+
doc={
"title": "system_bandwidth",
"description": "",