From e051cdfbd071a3b772dde94e4f2fd865989017a1 Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Wed, 10 Apr 2024 10:27:43 +0800 Subject: [PATCH] test: add test case of tsma --- tests/system-test/2-query/tsma.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-test/2-query/tsma.py b/tests/system-test/2-query/tsma.py index 8823d89fff..53743051ac 100644 --- a/tests/system-test/2-query/tsma.py +++ b/tests/system-test/2-query/tsma.py @@ -1282,11 +1282,11 @@ class TDTestCase: tdSql.error('drop table norm_tb', -2147471088) # drop no tsma table - tdSql.execute('drop table t2, t1') + tdSql.execute('drop table test.t2, test.t1') # test ttl drop table self.create_tsma('tsma1', 'test', 'meters', ['avg(c1)', 'avg(c2)'], '5m') - tdSql.execute('alter table nsdb.t0 ttl 2', queryTimes=1) + tdSql.execute('alter table test.t0 ttl 2', queryTimes=1) tdSql.execute('flush database test') tdSql.waitedQuery('show tables like "%t0"', 0, 10)