[TD-2850]<test>: add test case
This commit is contained in:
parent
9777218e1b
commit
2257f93209
|
@ -111,6 +111,17 @@ class TDTestCase:
|
||||||
tdSql.query("select * from tb where c5 = 'true' ")
|
tdSql.query("select * from tb where c5 = 'true' ")
|
||||||
tdSql.checkRows(5)
|
tdSql.checkRows(5)
|
||||||
|
|
||||||
|
# For jira: https://jira.taosdata.com:18080/browse/TD-2850
|
||||||
|
tdSql.execute("create database 'Test' ")
|
||||||
|
tdSql.execute("use 'Test' ")
|
||||||
|
tdSql.execute("create table 'TB'(ts timestamp, 'Col1' int) tags('Tag1' int)")
|
||||||
|
tdSql.execute("insert into 'Tb0' using tb tags(1) values(now, 1)")
|
||||||
|
tdSql.query("select * from tb")
|
||||||
|
tdSql.checkRows(1)
|
||||||
|
|
||||||
|
tdSql.query("select * from tb0")
|
||||||
|
tdSql.checkRows(1)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
tdSql.close()
|
tdSql.close()
|
||||||
tdLog.success("%s successfully executed" % __file__)
|
tdLog.success("%s successfully executed" % __file__)
|
||||||
|
|
Loading…
Reference in New Issue