From 3a45a3b1354073b2693dbb918196a54dc491217a Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Mon, 19 Feb 2024 12:10:58 +0800 Subject: [PATCH] fix: always return zero --- tests/army/community/cluster/snapshot.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/army/community/cluster/snapshot.py b/tests/army/community/cluster/snapshot.py index 1cd7c1b2f6..b21cbb1ad8 100644 --- a/tests/army/community/cluster/snapshot.py +++ b/tests/army/community/cluster/snapshot.py @@ -36,10 +36,6 @@ class TDTestCase(TBase): "ifAdtFse" : "1", 'slowLogScope' : "insert" } - updatecfgDict = { - - } - def insertData(self): tdLog.info(f"insert data.") @@ -61,7 +57,7 @@ class TDTestCase(TBase): sql = f"select * from {self.db}.{self.stb} where fc!=100" tdSql.query(sql) tdSql.checkRows(0) - sql = f"select count(*) from {self.db}.{self.stb} where dc!=200" + sql = f"select * from {self.db}.{self.stb} where dc!=200" tdSql.query(sql) tdSql.checkRows(0) sql = f"select avg(fc) from {self.db}.{self.stb}"