From 85c16507be014acb35bf1a2575c5280d37c61206 Mon Sep 17 00:00:00 2001 From: "wenzhouwww@live.cn" Date: Sun, 8 May 2022 12:29:54 +0800 Subject: [PATCH] update case again --- tests/system-test/0-others/taosdMonitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-test/0-others/taosdMonitor.py b/tests/system-test/0-others/taosdMonitor.py index 38c1926290..8f420c6516 100644 --- a/tests/system-test/0-others/taosdMonitor.py +++ b/tests/system-test/0-others/taosdMonitor.py @@ -89,9 +89,9 @@ def telemetryInfoCheck(infoDict=''): vgroup_infos_nums = len(infoDict["vgroup_infos"]) for index in range(vgroup_infos_nums): - if "vgroup_id" not in infoDict["vgroup_infos"][index] or infoDict["vgroup_infos"][index]["vgroup_id"]<0: + if "vgroup_id" not in infoDict["vgroup_infos"][index] or infoDict["vgroup_infos"][index]["vgroup_id"]< 0: tdLog.exit("vgroup_id is null!") - if "database_name" not in infoDict["vgroup_infos"][index] or len(infoDict["vgroup_infos"][index]["database_name"])>0: + if "database_name" not in infoDict["vgroup_infos"][index] or len(infoDict["vgroup_infos"][index]["database_name"]) < 0: tdLog.exit("database_name is null!") if "tables_num" not in infoDict["vgroup_infos"][index] or infoDict["vgroup_infos"][index]["tables_num"]!= 0: tdLog.exit("tables_num is null!") -- GitLab