summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/testcase_dashboard
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2016-12-02 22:52:55 +0800
committerliyin <liyin11@huawei.com>2016-12-02 22:52:55 +0800
commit165db3dbc632275f49261a69760867b811b0520b (patch)
treef7888d769caeaaae2892ce39edacd86fa0f86954 /testsuites/posca/testcase_dashboard
parent590b32bbd38fc62f3d221e4a5b3be9ab93bc45fe (diff)
dashboard log info check
JIRA: BOTTLENECK-115 This patch change an error that last patch haven't covered. so i need to correct it. Change-Id: I1ab1fbe4e60463482728ec3ab58ec71c4e1d7049 Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'testsuites/posca/testcase_dashboard')
-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": "",