Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
4452fdd4
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4452fdd4
编写于
7月 06, 2022
作者:
W
wade zhang
提交者:
GitHub
7月 06, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #14468 from taosdata/test/chr/TD-14699
test:add testcase in fulltest
上级
5bb13655
044d4f88
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
185 addition
and
8 deletion
+185
-8
tests/system-test/1-insert/test_stmt_set_tbname_tag.py
tests/system-test/1-insert/test_stmt_set_tbname_tag.py
+7
-7
tests/system-test/2-query/queryQnode.py
tests/system-test/2-query/queryQnode.py
+3
-0
tests/system-test/fulltest.sh
tests/system-test/fulltest.sh
+175
-1
未找到文件。
tests/system-test/1-insert/test_stmt_set_tbname_tag.py
浏览文件 @
4452fdd4
...
...
@@ -218,13 +218,13 @@ class TDTestCase:
tdLog
.
debug
(
"assert 8th case %s"
%
rows
)
assert
rows
[
0
][
0
]
==
3
,
' 8th case is failed'
#
#
query: selector Functions 9
#
queryparam=new_bind_params(1)
#
queryparam[0].int(2)
# rows=self.stmtExe(conn,"select bottom(bu,?) from log group by bu
; ",queryparam)
#
tdLog.debug("assert 9th case %s"%rows)
# assert rows[0
][0] == 4, ' 9 case is failed'
# assert rows[1
][0] == 3, ' 9 case is failed'
#query: selector Functions 9
queryparam
=
new_bind_params
(
1
)
queryparam
[
0
].
int
(
2
)
rows
=
self
.
stmtExe
(
conn
,
"select bottom(bu,?) from log group by bu order by bu desc
; "
,
queryparam
)
tdLog
.
debug
(
"assert 9th case %s"
%
rows
)
assert
rows
[
1
][
0
]
==
4
,
' 9 case is failed'
assert
rows
[
2
][
0
]
==
3
,
' 9 case is failed'
# #query: time-series specific Functions 10
...
...
tests/system-test/2-query/queryQnode.py
浏览文件 @
4452fdd4
...
...
@@ -478,6 +478,9 @@ class TDTestCase:
self
.
test_case3
()
# tdLog.debug(" LIMIT test_case3 ............ [OK]")
def
stop
(
self
):
tdSql
.
close
()
tdLog
.
success
(
f
"
{
__file__
}
successfully executed"
)
return
#
...
...
tests/system-test/fulltest.sh
浏览文件 @
4452fdd4
...
...
@@ -29,6 +29,7 @@ python3 ./test.py -f 1-insert/block_wise.py
python3 ./test.py
-f
1-insert/create_retentions.py
#python3 ./test.py -f 1-insert/table_param_ttl.py
python3 ./test.py
-f
2-query/between.py
python3 ./test.py
-f
2-query/distinct.py
python3 ./test.py
-f
2-query/varchar.py
...
...
@@ -118,7 +119,7 @@ python3 ./test.py -f 2-query/twa.py
python3 ./test.py
-f
2-query/irate.py
python3 ./test.py
-f
2-query/function_null.py
#
python3 ./test.py -f 2-query/queryQnode.py
python3 ./test.py
-f
2-query/queryQnode.py
#python3 ./test.py -f 6-cluster/5dnode1mnode.py
#python3 ./test.py -f 6-cluster/5dnode2mnode.py -N 5 -M 3
...
...
@@ -172,3 +173,176 @@ python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py
python3 ./test.py
-f
7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py
python3 ./test.py
-f
7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py
#------------querPolicy 2-----------
python3 ./test.py
-f
2-query/between.py
-Q
2
python3 ./test.py
-f
2-query/distinct.py
-Q
2
python3 ./test.py
-f
2-query/varchar.py
-Q
2
python3 ./test.py
-f
2-query/ltrim.py
-Q
2
python3 ./test.py
-f
2-query/rtrim.py
-Q
2
python3 ./test.py
-f
2-query/length.py
-Q
2
python3 ./test.py
-f
2-query/char_length.py
-Q
2
python3 ./test.py
-f
2-query/upper.py
-Q
2
python3 ./test.py
-f
2-query/lower.py
-Q
2
python3 ./test.py
-f
2-query/join.py
-Q
2
python3 ./test.py
-f
2-query/join2.py
-Q
2
python3 ./test.py
-f
2-query/cast.py
-Q
2
python3 ./test.py
-f
2-query/substr.py
-Q
2
python3 ./test.py
-f
2-query/union.py
-Q
2
python3 ./test.py
-f
2-query/union1.py
-Q
2
python3 ./test.py
-f
2-query/concat.py
-Q
2
python3 ./test.py
-f
2-query/concat2.py
-Q
2
python3 ./test.py
-f
2-query/concat_ws.py
-Q
2
python3 ./test.py
-f
2-query/concat_ws2.py
-Q
2
python3 ./test.py
-f
2-query/check_tsdb.py
-Q
2
python3 ./test.py
-f
2-query/spread.py
-Q
2
python3 ./test.py
-f
2-query/hyperloglog.py
-Q
2
python3 ./test.py
-f
2-query/explain.py
-Q
2
python3 ./test.py
-f
2-query/leastsquares.py
-Q
2
python3 ./test.py
-f
2-query/timezone.py
-Q
2
python3 ./test.py
-f
2-query/Now.py
-Q
2
python3 ./test.py
-f
2-query/Today.py
-Q
2
python3 ./test.py
-f
2-query/max.py
-Q
2
python3 ./test.py
-f
2-query/min.py
-Q
2
python3 ./test.py
-f
2-query/count.py
-Q
2
python3 ./test.py
-f
2-query/last.py
-Q
2
python3 ./test.py
-f
2-query/first.py
-Q
2
python3 ./test.py
-f
2-query/To_iso8601.py
-Q
2
python3 ./test.py
-f
2-query/To_unixtimestamp.py
-Q
2
python3 ./test.py
-f
2-query/timetruncate.py
-Q
2
python3 ./test.py
-f
2-query/diff.py
-Q
2
python3 ./test.py
-f
2-query/Timediff.py
-Q
2
python3 ./test.py
-f
2-query/json_tag.py
-Q
2
python3 ./test.py
-f
2-query/top.py
-Q
2
python3 ./test.py
-f
2-query/bottom.py
-Q
2
python3 ./test.py
-f
2-query/percentile.py
-Q
2
python3 ./test.py
-f
2-query/apercentile.py
-Q
2
python3 ./test.py
-f
2-query/abs.py
-Q
2
python3 ./test.py
-f
2-query/ceil.py
-Q
2
python3 ./test.py
-f
2-query/floor.py
-Q
2
python3 ./test.py
-f
2-query/round.py
-Q
2
python3 ./test.py
-f
2-query/log.py
-Q
2
python3 ./test.py
-f
2-query/pow.py
-Q
2
python3 ./test.py
-f
2-query/sqrt.py
-Q
2
python3 ./test.py
-f
2-query/sin.py
-Q
2
python3 ./test.py
-f
2-query/cos.py
-Q
2
python3 ./test.py
-f
2-query/tan.py
-Q
2
python3 ./test.py
-f
2-query/arcsin.py
-Q
2
python3 ./test.py
-f
2-query/arccos.py
-Q
2
python3 ./test.py
-f
2-query/arctan.py
-Q
2
python3 ./test.py
-f
2-query/query_cols_tags_and_or.py
-Q
2
# python3 ./test.py -f 2-query/nestedQuery.py -Q 2
# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 2
python3 ./test.py
-f
2-query/avg.py
-Q
2
# python3 ./test.py -f 2-query/elapsed.py -Q 2
python3 ./test.py
-f
2-query/csum.py
-Q
2
python3 ./test.py
-f
2-query/mavg.py
-Q
2
python3 ./test.py
-f
2-query/diff.py
-Q
2
python3 ./test.py
-f
2-query/sample.py
-Q
2
python3 ./test.py
-f
2-query/function_diff.py
-Q
2
python3 ./test.py
-f
2-query/unique.py
-Q
2
python3 ./test.py
-f
2-query/stateduration.py
-Q
2
python3 ./test.py
-f
2-query/function_stateduration.py
-Q
2
python3 ./test.py
-f
2-query/statecount.py
-Q
2
python3 ./test.py
-f
2-query/tail.py
-Q
2
python3 ./test.py
-f
2-query/ttl_comment.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_count.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_max.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_min.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_sum.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_spread.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_apercentile.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_avg.py
-Q
2
python3 ./test.py
-f
2-query/distribute_agg_stddev.py
-Q
2
python3 ./test.py
-f
2-query/twa.py
-Q
2
python3 ./test.py
-f
2-query/irate.py
-Q
2
python3 ./test.py
-f
2-query/function_null.py
-Q
2
#------------querPolicy 3-----------
python3 ./test.py
-f
2-query/between.py
-Q
3
python3 ./test.py
-f
2-query/distinct.py
-Q
3
python3 ./test.py
-f
2-query/varchar.py
-Q
3
python3 ./test.py
-f
2-query/ltrim.py
-Q
3
python3 ./test.py
-f
2-query/rtrim.py
-Q
3
python3 ./test.py
-f
2-query/length.py
-Q
3
python3 ./test.py
-f
2-query/char_length.py
-Q
3
python3 ./test.py
-f
2-query/upper.py
-Q
3
python3 ./test.py
-f
2-query/lower.py
-Q
3
python3 ./test.py
-f
2-query/join.py
-Q
3
python3 ./test.py
-f
2-query/join2.py
-Q
3
python3 ./test.py
-f
2-query/cast.py
-Q
3
python3 ./test.py
-f
2-query/substr.py
-Q
3
python3 ./test.py
-f
2-query/union.py
-Q
3
python3 ./test.py
-f
2-query/union1.py
-Q
3
python3 ./test.py
-f
2-query/concat.py
-Q
3
python3 ./test.py
-f
2-query/concat2.py
-Q
3
python3 ./test.py
-f
2-query/concat_ws.py
-Q
3
python3 ./test.py
-f
2-query/concat_ws2.py
-Q
3
python3 ./test.py
-f
2-query/check_tsdb.py
-Q
3
python3 ./test.py
-f
2-query/spread.py
-Q
3
python3 ./test.py
-f
2-query/hyperloglog.py
-Q
3
python3 ./test.py
-f
2-query/explain.py
-Q
3
python3 ./test.py
-f
2-query/leastsquares.py
-Q
3
python3 ./test.py
-f
2-query/timezone.py
-Q
3
python3 ./test.py
-f
2-query/Now.py
-Q
3
python3 ./test.py
-f
2-query/Today.py
-Q
3
python3 ./test.py
-f
2-query/max.py
-Q
3
python3 ./test.py
-f
2-query/min.py
-Q
3
python3 ./test.py
-f
2-query/count.py
-Q
3
python3 ./test.py
-f
2-query/last.py
-Q
3
python3 ./test.py
-f
2-query/first.py
-Q
3
python3 ./test.py
-f
2-query/To_iso8601.py
-Q
3
python3 ./test.py
-f
2-query/To_unixtimestamp.py
-Q
3
python3 ./test.py
-f
2-query/timetruncate.py
-Q
3
python3 ./test.py
-f
2-query/diff.py
-Q
3
python3 ./test.py
-f
2-query/Timediff.py
-Q
3
python3 ./test.py
-f
2-query/json_tag.py
-Q
3
python3 ./test.py
-f
2-query/top.py
-Q
3
python3 ./test.py
-f
2-query/bottom.py
-Q
3
python3 ./test.py
-f
2-query/percentile.py
-Q
3
python3 ./test.py
-f
2-query/apercentile.py
-Q
3
python3 ./test.py
-f
2-query/abs.py
-Q
3
python3 ./test.py
-f
2-query/ceil.py
-Q
3
python3 ./test.py
-f
2-query/floor.py
-Q
3
python3 ./test.py
-f
2-query/round.py
-Q
3
python3 ./test.py
-f
2-query/log.py
-Q
3
python3 ./test.py
-f
2-query/pow.py
-Q
3
python3 ./test.py
-f
2-query/sqrt.py
-Q
3
python3 ./test.py
-f
2-query/sin.py
-Q
3
python3 ./test.py
-f
2-query/cos.py
-Q
3
python3 ./test.py
-f
2-query/tan.py
-Q
3
python3 ./test.py
-f
2-query/arcsin.py
-Q
3
python3 ./test.py
-f
2-query/arccos.py
-Q
3
python3 ./test.py
-f
2-query/arctan.py
-Q
3
python3 ./test.py
-f
2-query/query_cols_tags_and_or.py
-Q
3
# python3 ./test.py -f 2-query/nestedQuery.py -Q 3
# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 3
# python3 ./test.py -f 2-query/avg.py -Q 3
# python3 ./test.py -f 2-query/elapsed.py -Q 3
python3 ./test.py
-f
2-query/csum.py
-Q
3
python3 ./test.py
-f
2-query/mavg.py
-Q
3
python3 ./test.py
-f
2-query/diff.py
-Q
3
python3 ./test.py
-f
2-query/sample.py
-Q
3
python3 ./test.py
-f
2-query/function_diff.py
-Q
3
python3 ./test.py
-f
2-query/unique.py
-Q
3
python3 ./test.py
-f
2-query/stateduration.py
-Q
3
python3 ./test.py
-f
2-query/function_stateduration.py
-Q
3
python3 ./test.py
-f
2-query/statecount.py
-Q
3
python3 ./test.py
-f
2-query/tail.py
-Q
3
python3 ./test.py
-f
2-query/ttl_comment.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_count.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_max.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_min.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_sum.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_spread.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_apercentile.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_avg.py
-Q
3
python3 ./test.py
-f
2-query/distribute_agg_stddev.py
-Q
3
python3 ./test.py
-f
2-query/twa.py
-Q
3
python3 ./test.py
-f
2-query/irate.py
-Q
3
python3 ./test.py
-f
2-query/function_null.py
-Q
3
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录