Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
c82c579c
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看板
未验证
提交
c82c579c
编写于
7月 31, 2022
作者:
S
Shengliang Guan
提交者:
GitHub
7月 31, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #15618 from taosdata/fix/valgrind
test: adjust case
上级
8e8d2ad7
f491de4f
变更
5
展开全部
显示空白变更内容
内联
并排
Showing
5 changed file
with
106 addition
and
1057 deletion
+106
-1057
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+11
-11
tests/script/tsim/db/keep.sim
tests/script/tsim/db/keep.sim
+4
-6
tests/script/tsim/parser/join_multitables.sim
tests/script/tsim/parser/join_multitables.sim
+78
-1037
tests/script/tsim/tag/create.sim
tests/script/tsim/tag/create.sim
+2
-2
tests/script/tsim/valgrind/checkError6.sim
tests/script/tsim/valgrind/checkError6.sim
+11
-1
未找到文件。
tests/script/jenkins/basic.txt
浏览文件 @
c82c579c
...
...
@@ -27,7 +27,7 @@
./test.sh -f tsim/db/delete_writing2.sim
# unsupport ./test.sh -f tsim/db/dropdnodes.sim
./test.sh -f tsim/db/error1.sim
# TD-17592
./test.sh -f tsim/db/keep.sim
./test.sh -f tsim/db/keep.sim
./test.sh -f tsim/db/len.sim
./test.sh -f tsim/db/repeat.sim
./test.sh -f tsim/db/show_create_db.sim
...
...
@@ -89,7 +89,7 @@
./test.sh -f tsim/parser/alter_column.sim
./test.sh -f tsim/parser/alter_stable.sim
./test.sh -f tsim/parser/alter.sim
# TD-17959
./test.sh -f tsim/parser/alter1.sim
./test.sh -f tsim/parser/alter1.sim
./test.sh -f tsim/parser/auto_create_tb_drop_tb.sim
./test.sh -f tsim/parser/auto_create_tb.sim
./test.sh -f tsim/parser/between_and.sim
...
...
@@ -131,8 +131,8 @@
./test.sh -f tsim/parser/insert_tb.sim
# TD-17038 ./test.sh -f tsim/parser/interp.sim
./test.sh -f tsim/parser/join_manyblocks.sim
# TD-1
7713
./test.sh -f tsim/parser/join_multitables.sim
# TD-17713
./test.sh -f tsim/parser/join_multivnode.sim
# TD-1
8018
./test.sh -f tsim/parser/join_multitables.sim
./test.sh -f tsim/parser/join_multivnode.sim
# TD-17707 ./test.sh -f tsim/parser/join.sim
./test.sh -f tsim/parser/last_cache.sim
./test.sh -f tsim/parser/last_groupby.sim
...
...
@@ -421,7 +421,7 @@
./test.sh -f tsim/tag/3.sim
./test.sh -f tsim/tag/4.sim
./test.sh -f tsim/tag/5.sim
# TD-17382
./test.sh -f tsim/tag/6.sim
./test.sh -f tsim/tag/6.sim
./test.sh -f tsim/tag/add.sim
./test.sh -f tsim/tag/bigint.sim
./test.sh -f tsim/tag/binary_binary.sim
...
...
@@ -429,18 +429,18 @@
./test.sh -f tsim/tag/bool_binary.sim
./test.sh -f tsim/tag/bool_int.sim
./test.sh -f tsim/tag/bool.sim
# TD-17407
./test.sh -f tsim/tag/change.sim
./test.sh -f tsim/tag/change.sim
./test.sh -f tsim/tag/column.sim
./test.sh -f tsim/tag/commit.sim
# TD-17407
./test.sh -f tsim/tag/create.sim
# TD-17407
./test.sh -f tsim/tag/delete.sim
# TD-17407
./test.sh -f tsim/tag/double.sim
./test.sh -f tsim/tag/create.sim
./test.sh -f tsim/tag/delete.sim
./test.sh -f tsim/tag/double.sim
./test.sh -f tsim/tag/filter.sim
# TD-17407
./test.sh -f tsim/tag/float.sim
./test.sh -f tsim/tag/float.sim
./test.sh -f tsim/tag/int_binary.sim
./test.sh -f tsim/tag/int_float.sim
./test.sh -f tsim/tag/int.sim
# TD-17959
./test.sh -f tsim/tag/set.sim
./test.sh -f tsim/tag/set.sim
./test.sh -f tsim/tag/smallint.sim
./test.sh -f tsim/tag/tinyint.sim
...
...
tests/script/tsim/db/keep.sim
浏览文件 @
c82c579c
...
...
@@ -63,12 +63,10 @@ print ===> rows $rows last $data01
if $rows >= 80 then
return -1
endi
if $rows <=
50
then
if $rows <=
45
then
return -1
endi
return
print ======== step5 stop dnode
system sh/exec.sh -n dnode2 -s stop -x SIGKILL
system sh/exec.sh -n dnode2 -s start
...
...
@@ -78,7 +76,7 @@ print ===> rows $rows last $data01
if $rows >= 80 then
return -1
endi
if $rows <=
50
then
if $rows <=
45
then
return -1
endi
...
...
@@ -109,8 +107,8 @@ print ======== step8 insert data
$x = 81
while $x < 121
$time = $x . d
sql insert into tb values (now - $time , $x ) -x step
4
step
4
:
sql insert into tb values (now - $time , $x ) -x step
8
step
8
:
$x = $x + 1
endw
...
...
tests/script/tsim/parser/join_multitables.sim
浏览文件 @
c82c579c
此差异已折叠。
点击以展开。
tests/script/tsim/tag/create.sim
浏览文件 @
c82c579c
...
...
@@ -179,7 +179,7 @@ $tb = $tbPrefix . $i
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol bool, tgcol2 bool)
sql create table $tb using $mt tags( 1, 2 )
sql insert into $tb values(now, 1)
sql select * from $mt where tgcol2 =
2
sql select * from $mt where tgcol2 =
1
if $rows != 1 then
print expect 1, actual: $rows
return -1
...
...
@@ -453,7 +453,7 @@ endi
if $data01 != 1 then
return -1
endi
sql select * from $mt where tgcol2 =
2
sql select * from $mt where tgcol2 =
1
if $rows != 1 then
return -1
endi
...
...
tests/script/tsim/valgrind/checkError6.sim
浏览文件 @
c82c579c
...
...
@@ -106,7 +106,17 @@ sql select * from stb where tbcol not in (1,2,3,null);
sql select * from stb where tbcol + 3 <> null;
print =============== step5: explain
sql explain analyze select ts from stb where -2;
sql explain analyze select ts from tb1;
sql explain analyze select ts from stb order by ts;
sql explain analyze select * from information_schema.user_stables;
sql explain analyze select count(*),sum(tbcol) from tb1;
sql explain analyze select count(*),sum(tbcol) from stb;
sql explain analyze select count(*),sum(tbcol) from stb group by tbcol;
sql explain analyze select * from information_schema.user_stables;
sql explain analyze verbose true select * from information_schema.user_stables where db_name='db2';
sql explain analyze verbose true select count(tbcol), avg(tbcol), max(tbcol), min(tbcol), count(tbcol) from stb where ts <= 1601481840000 and ts >= 1601481800000 partition by tgcol interval(1m) fill(value, 0)
sql explain select count(tbcol), avg(tbcol), max(tbcol), min(tbcol), count(tbcol) from stb where ts <= 1601481840000 and ts >= 1601481800000 partition by tgcol interval(1m) fill(value, 0)
print =============== check
$null=
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录