[TD-2693]<test>: add test case
This commit is contained in:
parent
3fa820e649
commit
1a3a813b4d
|
@ -131,7 +131,7 @@ class TDTestCase:
|
|||
tdSql.execute("alter table t0 set tag t1=2.1")
|
||||
|
||||
tdSql.query("show tables")
|
||||
tdSql.checkRows(1)
|
||||
tdSql.checkRows(2)
|
||||
|
||||
def stop(self):
|
||||
tdSql.close()
|
||||
|
|
|
@ -190,6 +190,7 @@ python3 ./test.py -f stream/table_n.py
|
|||
|
||||
#alter table
|
||||
python3 ./test.py -f alter/alter_table_crash.py
|
||||
python3 ./test.py -f alter/alter_table.py
|
||||
|
||||
# client
|
||||
python3 ./test.py -f client/client.py
|
||||
|
|
|
@ -56,6 +56,12 @@ class TDTestCase:
|
|||
tdSql.query("show stables like 'st%' ")
|
||||
tdSql.checkRows(3)
|
||||
|
||||
# case for defect: https://jira.taosdata.com:18080/browse/TD-2693
|
||||
tdSql.execute("create database db2")
|
||||
tdSql.execute("use db2")
|
||||
tdSql.execute("create table stb(ts timestamp, c int) tags(t int)")
|
||||
tdSql.error("insert into db2.tb6 using db2.stb tags(1) values(now 1) tb2 using db2. tags( )values(now 2)")
|
||||
|
||||
def stop(self):
|
||||
tdSql.close()
|
||||
tdLog.success("%s successfully executed" % __file__)
|
||||
|
|
Loading…
Reference in New Issue