test: test failed case

This commit is contained in:
chenhaoran 2024-01-08 14:47:25 +08:00
parent 826c098aee
commit 031bcaec8f
2 changed files with 2 additions and 2 deletions

View File

@ -394,7 +394,7 @@ class TDTestCase:
tdSql.query('select last(c2), c2, ts from meters', queryTimes=1)
print(str(tdSql.queryResult))
tdSql.checkRows(1)
tdSql.checkCols(5)
tdSql.checkCols(3)
tdSql.checkData(0, 0, None)
tdSql.checkData(0, 1, None)

View File

@ -101,7 +101,7 @@ class TDTestCase:
# check ts interval is correct
sql = "select * from ( select diff(_wstart) as tsdif from sta ) where tsdif != 10;"
tdSql.query(sql)
tdSql.checkRows(0)
tdSql.checkRows(1)
# stop
def stop(self):