diff --git a/packaging/docker/Dockerfile b/packaging/docker/Dockerfile index 7d90beac1c9e..99a10e028566 100644 --- a/packaging/docker/Dockerfile +++ b/packaging/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:latest WORKDIR /root diff --git a/tests/system-test/1-insert/db_tb_name_check.py b/tests/system-test/1-insert/db_tb_name_check.py index fa43603e258f..e217bbe18337 100644 --- a/tests/system-test/1-insert/db_tb_name_check.py +++ b/tests/system-test/1-insert/db_tb_name_check.py @@ -76,7 +76,8 @@ def tb_name_check(self): new_tbname = ''.join(tbname1) for sql in [f'`{dbname}`.`{new_tbname}`',f'`{new_tbname}`']: tdSql.error(f'create table {sql} (ts timestamp,c0 int)') - tdSql.execute(f'drop database `{dbname}`') + tdSql.execute(f'trim database `{dbname}`') + tdSql.execute(f'drop database `{dbname}`') def run(self): self.db_name_check() self.tb_name_check()