From 58ef5dae190c80f94e3629fac7c9e7653b3d52c9 Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Tue, 9 Apr 2024 20:14:33 +0800 Subject: [PATCH] test: add test case of tsma --- tests/system-test/0-others/udf_create.py | 2 +- tests/system-test/2-query/tsma.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-test/0-others/udf_create.py b/tests/system-test/0-others/udf_create.py index 821d47516d..6071561035 100644 --- a/tests/system-test/0-others/udf_create.py +++ b/tests/system-test/0-others/udf_create.py @@ -692,7 +692,7 @@ class TDTestCase: self.prepare_data() self.create_udf_function() self.basic_udf_query() - # self.unexpected_create() + self.unexpected_create() def stop(self): diff --git a/tests/system-test/2-query/tsma.py b/tests/system-test/2-query/tsma.py index 279e6f5737..8823d89fff 100644 --- a/tests/system-test/2-query/tsma.py +++ b/tests/system-test/2-query/tsma.py @@ -1314,7 +1314,7 @@ class TDTestCase: self.create_tsma('tsma1', 'nsdb', 'meters', ['avg(c1)', 'avg(c2)'], '5m') # Invalid tsma interval, 1ms ~ 1h is allowed tdSql.error( - 'create tsma nsdb.tsma2 on nsdb.meters function(avg(c1), avg(c2)) interval(2h)', -2147471097) + 'create tsma tsma2 on nsdb.meters function(avg(c1), avg(c2)) interval(2h)', -2147471097) tdSql.error( 'create tsma tsma2 on nsdb.meters function(avg(c1), avg(c2)) interval(3601s)', -2147471097) tdSql.error(