提交 2475e037 编写于 作者: J jiacy-jcy

update first.py

上级 8209983c
......@@ -88,9 +88,9 @@ class TDTestCase:
# nchar
elif i == 13:
tdSql.checkData(0, 0, f'{self.nchar_str}1')
# tdSql.query("select first(*),last(*) from stb where ts < 23 interval(1s)")
# tdSql.checkRows(0)
# tdSql.execute('drop database db')
tdSql.query("select first(*),last(*) from stb where ts < 23 interval(1s)")
tdSql.checkRows(0)
tdSql.execute('drop database db')
def first_check_stb_distribute(self):
# prepare data for vgroup 4
dbname = self.get_long_name(length=10, mode="letters")
......@@ -150,16 +150,16 @@ class TDTestCase:
# nchar
elif i == 13:
tdSql.checkData(0, 0, f'{self.nchar_str}1')
# tdSql.query("select first(*),last(*) from {stbname} where ts < 23 interval(1s)")
# tdSql.checkRows(0)
# tdSql.execute('drop database db')
tdSql.query("select first(*),last(*) from {stbname} where ts < 23 interval(1s)")
tdSql.checkRows(0)
tdSql.execute('drop database db')
pass
def run(self):
self.first_check_base()
self.first_check_stb_distribute()
def stop(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册