fix: always return zero

This commit is contained in:
Alex Duan 2024-02-19 12:10:58 +08:00
parent 72a8fb15b7
commit 3a45a3b135
1 changed files with 1 additions and 5 deletions

View File

@ -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}"