fix: snapshot.py passed

This commit is contained in:
Alex Duan 2024-04-25 16:48:26 +08:00
parent 1804c12ee8
commit 1fca5edb0e
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ from frame.srvCtl import *
class TDTestCase(TBase): class TDTestCase(TBase):
updatecfgDict = { updatecfgDict = {
"countAlwaysReturnValue" : "1", "countAlwaysReturnValue" : "0",
"lossyColumns" : "float,double", "lossyColumns" : "float,double",
"fPrecision" : "0.000000001", "fPrecision" : "0.000000001",
"dPrecision" : "0.00000000000000001", "dPrecision" : "0.00000000000000001",
@ -106,7 +106,7 @@ class TDTestCase(TBase):
# check count always return value # check count always return value
sql = f"select count(*) from {self.db}.ta" sql = f"select count(*) from {self.db}.ta"
tdSql.query(sql) tdSql.query(sql)
tdSql.checkRows(0) # countAlwaysReturnValue is false tdSql.checkRows(1) # countAlwaysReturnValue is false
# run # run
def run(self): def run(self):