From c15639f0d3235ef768c17346d616ca1e49d0d867 Mon Sep 17 00:00:00 2001 From: plum-lihui Date: Tue, 29 Mar 2022 14:49:53 +0800 Subject: [PATCH] [update] --- tests/script/tsim/testCaseSuite.sim | 9 +++++++-- tests/script/tsim/tmq/basic1.sim | 17 +++++++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/tests/script/tsim/testCaseSuite.sim b/tests/script/tsim/testCaseSuite.sim index 4b700d2ca4..2ed5e5fcf3 100644 --- a/tests/script/tsim/testCaseSuite.sim +++ b/tests/script/tsim/testCaseSuite.sim @@ -2,6 +2,8 @@ run tsim/user/basic1.sim run tsim/db/basic1.sim +run tsim/db/basic2.sim +run tsim/db/basic3.sim run tsim/db/basic6.sim run tsim/db/basic7.sim run tsim/db/error1.sim @@ -13,12 +15,15 @@ run tsim/insert/basic1.sim run tsim/insert/backquote.sim run tsim/insert/null.sim +#run tsim/parser/groupby-basic.sim +#run tsim/parser/fourArithmetic-basic.sim + run tsim/query/interval.sim -#run tsim/query/interval-offset.sim # TD-14266 +run tsim/query/interval-offset.sim run tsim/show/basic.sim run tsim/table/basic1.sim run tsim/tmq/basic.sim - +#run tsim/tmq/basic1.sim diff --git a/tests/script/tsim/tmq/basic1.sim b/tests/script/tsim/tmq/basic1.sim index 665a1054e7..a91196d71f 100644 --- a/tests/script/tsim/tmq/basic1.sim +++ b/tests/script/tsim/tmq/basic1.sim @@ -1,9 +1,12 @@ -#### test scenario +#### test scenario, please refer to https://jira.taosdata.com:18090/pages/viewpage.action?pageId=135120406 # vgroups=1, one topic for one consumer, include: columns from stb/ctb/ntb, * from stb/ctb/ntb, Scalar function from stb/ctb/ntb # vgroups=1, multi topics for one consumer, include: columns from stb/ctb/ntb, * from stb/ctb/ntb, Scalar function from stb/ctb/ntb # vgroups=4, one topic for one consumer, include: columns from stb/ctb/ntb, * from stb/ctb/ntb, Scalar function from stb/ctb/ntb # vgroups=4, multi topics for one consumer, include: columns from stb/ctb/ntb, * from stb/ctb/ntb, Scalar function from stb/ctb/ntb - +# The above use cases are combined with where filter conditions, such as: where ts > "2017-08-12 18:25:58.128Z" and sin(a) > 0.5; +# +# notes: not support aggregate functions(such as sum/count/min/max) and time-windows(interval). +# system sh/stop_dnodes.sh system sh/deploy.sh -n dnode1 -i 1 @@ -119,6 +122,16 @@ endw $totalMsgCnt = $rowNum * $tbNum print inserted totalMsgCnt: $totalMsgCnt +# supported key: +# group.id: +# enable.auto.commit: +# auto.offset.reset: +# td.connect.ip: +# td.connect.user:root +# td.connect.pass:taosdata +# td.connect.port:6030 +# td.connect.db:db + print cmd===> system_content ../../debug/tests/test/c/tmq_sim -c ../../sim/tsim/cfg -d $dbNamme -t "topic_stb_column" -k "group.id:tg2" system_content ../../debug/tests/test/c/tmq_sim -c ../../sim/tsim/cfg -d $dbNamme -t "topic_stb_column" -k "group.id:tg2" print cmd result----> $system_content -- GitLab