Merge pull request #24009 from taosdata/test/TD-27721
test: add coverage case
This commit is contained in:
commit
ecab6655a6
|
@ -1,4 +1,4 @@
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:latest
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,7 @@ class TDTestCase:
|
||||||
new_tbname = ''.join(tbname1)
|
new_tbname = ''.join(tbname1)
|
||||||
for sql in [f'`{dbname}`.`{new_tbname}`',f'`{new_tbname}`']:
|
for sql in [f'`{dbname}`.`{new_tbname}`',f'`{new_tbname}`']:
|
||||||
tdSql.error(f'create table {sql} (ts timestamp,c0 int)')
|
tdSql.error(f'create table {sql} (ts timestamp,c0 int)')
|
||||||
|
tdSql.execute(f'trim database `{dbname}`')
|
||||||
tdSql.execute(f'drop database `{dbname}`')
|
tdSql.execute(f'drop database `{dbname}`')
|
||||||
def run(self):
|
def run(self):
|
||||||
self.db_name_check()
|
self.db_name_check()
|
||||||
|
|
Loading…
Reference in New Issue