[TD-2310]<test> add test case for stream dest table
This commit is contained in:
parent
d3ed3cda40
commit
77cf9cecdd
|
@ -87,6 +87,10 @@ class TDTestCase:
|
|||
tdSql.checkData(0, 3, rowNum)
|
||||
except Exception as e:
|
||||
tdLog.info(repr(e))
|
||||
|
||||
tdSql.query("show streams")
|
||||
tdSql.checkRows(1)
|
||||
tdSql.checkData(0, 2, 's0')
|
||||
|
||||
tdLog.info("===== step8 =====")
|
||||
tdSql.query(
|
||||
|
@ -142,6 +146,12 @@ class TDTestCase:
|
|||
except Exception as e:
|
||||
tdLog.info(repr(e))
|
||||
|
||||
tdSql.query("show streams")
|
||||
tdSql.checkRows(2)
|
||||
tdSql.checkData(0, 2, 's1')
|
||||
tdSql.checkData(1, 2, 's0')
|
||||
|
||||
|
||||
def stop(self):
|
||||
tdSql.close()
|
||||
tdLog.success("%s successfully executed" % __file__)
|
||||
|
|
Loading…
Reference in New Issue