Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
8e567451
T
TDengine
项目概览
taosdata
/
TDengine
大约 2 年 前同步成功
通知
1192
Star
22018
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看板
提交
8e567451
编写于
1月 06, 2022
作者:
W
wenzhouwww
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TD-11983]<test>(query):update case
上级
14a64fd5
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
3 addition
and
3 deletion
+3
-3
tests/system-test/2-query/function_elapsed.py
tests/system-test/2-query/function_elapsed.py
+3
-3
未找到文件。
tests/system-test/2-query/function_elapsed.py
浏览文件 @
8e567451
...
...
@@ -140,8 +140,8 @@ class TDTestCase:
tablenames
=
[
"sub_table1_1"
,
"sub_table1_2"
,
"sub_table1_3"
,
"sub_table2_1"
,
"sub_table2_2"
,
"sub_table2_3"
,
"regular_table_1"
,
"regular_table_2"
,
"regular_table_3"
]
abnormal_list
=
[
"()"
,
"(NULL)"
,
"(*)"
,
"(abc)"
,
"( , )"
,
"(NULL,*)"
,
"( ,NULL)"
,
"(%)"
,
"(+)"
,
"(*,)"
,
"(*, /)"
,
"(ts,10)"
,
"(ts,*)"
"(ts,tbname*10)"
,
"(ts,tagname)"
,
"(ts,now-2d+3m)"
,
"(ts,2d+3m-2s)"
,
"(ts,2d+3m-2s,
)"
,
"(ts+1d,10s)"
,
"(ts+10d,NULL)"
,
"(ts,now -1m%1d)"
,
"(ts+10d)"
,
"(ts+10d,_c0)"
,
"(ts+10d,)"
,
"(ts,%)"
,
"(ts, ,
)"
,
"(ts,abc)"
,
"(ts,/)"
,
"(ts,*)"
,
"(ts,now)"
,
"(ts,now+1d)"
,
"(ts,_c0)"
,
"(ts,1s,100)"
,
abnormal_list
=
[
"()"
,
"(NULL)"
,
"(*)"
,
"(abc)"
,
"( , )"
,
"(NULL,*)"
,
"( ,NULL)"
,
"(%)"
,
"(+)"
,
"(*,)"
,
"(*, /)"
,
"(ts,10)"
,
"(ts,*)"
"(ts,tbname*10)"
,
"(ts,tagname)"
,
"(ts,now-2d+3m)"
,
"(ts,2d+3m-2s,
NULL)"
,
"(ts+1d,10s)"
,
"(ts+10d,NULL)"
,
"(ts,now -1m%1d)"
,
"(ts+10d)"
,
"(ts+10d,_c0)"
,
"(ts+10d,)"
,
"(ts,%)"
,
"(ts, , m
)"
,
"(ts,abc)"
,
"(ts,/)"
,
"(ts,*)"
,
"(ts,now)"
,
"(ts,now+1d)"
,
"(ts,_c0)"
,
"(ts,1s,100)"
,
"(ts,1s,abc)"
,
"(ts,1s,_c0)"
,
"(ts,1s,*)"
,
"(ts,1s,NULL)"
,
"(ts,,_c0)"
,
"(ts,tbname)"
,
"(ts,tbname,ts)"
,
"(ts,0,tbname)"
,
"('2021-11-18 00:00:10')"
,
"('2021-11-18 00:00:10', 1s)"
,
"('2021-11-18T00:00:10+0800', '1s')"
,
"('2021-11-18T00:00:10Z', '1s')"
,
"('2021-11-18T00:00:10+0800', 10000000d,)"
,
"('ts', ,2021-11-18T00:00:10+0800, )"
]
...
...
@@ -1597,7 +1597,7 @@ class TDTestCase:
def
run
(
self
):
tdSql
.
prepare
()
self
.
prepare_data
()
#
self.abnormal_common_test()
self
.
abnormal_common_test
()
self
.
abnormal_use_test
()
self
.
query_filter
()
self
.
query_interval
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录