fix tsma test case
This commit is contained in:
parent
cd33915492
commit
2a2c3d8b90
|
@ -1354,14 +1354,14 @@ class TDTestCase:
|
||||||
tdSql.execute('alter table test.t0 ttl 2', queryTimes=1)
|
tdSql.execute('alter table test.t0 ttl 2', queryTimes=1)
|
||||||
tdSql.execute('flush database test')
|
tdSql.execute('flush database test')
|
||||||
res_tb = TSMAQCBuilder().md5('1.test.tsma1_t0')
|
res_tb = TSMAQCBuilder().md5('1.test.tsma1_t0')
|
||||||
self.wait_query_err(f'desc `{res_tb}`', wait_query_seconds, -2147473917)
|
self.wait_query_err(f'desc test.`{res_tb}`', wait_query_seconds, -2147473917)
|
||||||
|
|
||||||
# test drop multi tables
|
# test drop multi tables
|
||||||
tdSql.execute('drop table test.t3, test.t4')
|
tdSql.execute('drop table test.t3, test.t4')
|
||||||
res_tb = TSMAQCBuilder().md5('1.test.tsma1_t3')
|
res_tb = TSMAQCBuilder().md5('1.test.tsma1_t3')
|
||||||
self.wait_query_err(f'desc `{res_tb}`', wait_query_seconds, -2147473917)
|
self.wait_query_err(f'desc test.`{res_tb}`', wait_query_seconds, -2147473917)
|
||||||
res_tb = TSMAQCBuilder().md5('1.test.tsma1_t4')
|
res_tb = TSMAQCBuilder().md5('1.test.tsma1_t4')
|
||||||
self.wait_query_err(f'desc `{res_tb}`', wait_query_seconds, -2147473917)
|
self.wait_query_err(f'desc test.`{res_tb}`', wait_query_seconds, -2147473917)
|
||||||
|
|
||||||
# test drop stream
|
# test drop stream
|
||||||
tdSql.error('drop stream tsma1', -2147471088) ## TSMA must be dropped first
|
tdSql.error('drop stream tsma1', -2147471088) ## TSMA must be dropped first
|
||||||
|
|
|
@ -689,6 +689,6 @@ if __name__ == "__main__":
|
||||||
if conn is not None:
|
if conn is not None:
|
||||||
conn.close()
|
conn.close()
|
||||||
if asan:
|
if asan:
|
||||||
tdDnodes.StopAllSigint()
|
#tdDnodes.StopAllSigint()
|
||||||
tdLog.info("Address sanitizer mode finished")
|
tdLog.info("Address sanitizer mode finished")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
Loading…
Reference in New Issue