Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
64877f0f
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看板
未验证
提交
64877f0f
编写于
3月 14, 2022
作者:
H
Hui Li
提交者:
GitHub
3月 14, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #10732 from taosdata/TD-13385-13958
Td 13385 13958
上级
a92039b3
10b30313
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
15 addition
and
5 deletion
+15
-5
tests/parallel_test/cases.task
tests/parallel_test/cases.task
+3
-3
tests/parallel_test/run.sh
tests/parallel_test/run.sh
+12
-2
未找到文件。
tests/parallel_test/cases.task
浏览文件 @
64877f0f
...
...
@@ -303,7 +303,7 @@
20,,script,./test.sh -f general/parser/auto_create_tb_drop_tb.sim
20,,script,./test.sh -f general/import/basic.sim
20,2,script,./test.sh -f general/alter/dnode.sim
20,,script,
./test.sh -f general/compute/cast.sim
20,,script,
eval sh -c \"if [ `uname -m` != aarch64 ]; then ./test.sh -f general/compute/cast.sim; fi\"
20,,script,./test.sh -f general/compute/string_funcs.sim
20,,develop-test,python3 test.py -f 2-query/lower_func.py
20,,develop-test,python3 test.py -f 2-query/upper_func.py
...
...
@@ -560,7 +560,7 @@
10,,script,./test.sh -f unique/stable/replica2_vnode3.sim
10,,pytest,python3 testCompress.py
10,,pytest,python3 test.py -f client/client.py
10,,script,
./test.sh -f general/parser/scalar_expression.sim
10,,script,
eval sh -c \"if [ `uname -m` != aarch64 ]; then ./test.sh -f general/parser/scalar_expression.sim; fi\"
10,,script,./test.sh -f general/compute/scalar_pow.sim
9,,script,./test.sh -f general/parser/alter1.sim
9,,script,./test.sh -f general/db/delete.sim
...
...
@@ -788,7 +788,7 @@
3,,pytest,python3 test.py -f tag_lite/binary.py
3,,pytest,python3 test.py -f query/filterAllIntTypes.py
3,,develop-test,python3 ./test.py -f 2-query/ts_hidden_column.py
3,,script,
./test.sh -f general/compute/scalar_triangle.sim
3,,script,
eval sh -c \"if [ `uname -m` != aarch64 ]; then ./test.sh -f general/compute/scalar_triangle.sim; fi\"
3,,script,./test.sh -f general/compute/scalar_str_concat_len.sim
3,,develop-test,python3 ./test.py -f 2-query/function_tail.py
2,,develop-test,python3 ./test.py -f 2-query/function_unique.py
...
...
tests/parallel_test/run.sh
浏览文件 @
64877f0f
...
...
@@ -272,10 +272,11 @@ function run_thread() {
flock
-x
$lock_file
-c
"echo
\"
${
hosts
[index]
}
ret:
${
ret
}
${
line
}
\"
>>
$log_dir
/failed.log"
mkdir
-p
$log_dir
/
${
case_file
}
.coredump
local
remote_coredump_dir
=
"
${
workdirs
[index]
}
/tmp/thread_volume/
$thread_no
/coredump"
cmd
=
"sshpass -p
${
passwords
[index]
}
scp -o StrictHostKeyChecking=no
${
usernames
[index]
}
@
${
hosts
[index]
}
:
${
remote_coredump_dir
}
/*
$log_dir
/
${
case_file
}
.coredump/
"
local
scpcmd
=
"sshpass -p
${
passwords
[index]
}
scp -o StrictHostKeyChecking=no -r
${
usernames
[index]
}
@
${
hosts
[index]
}
"
if
[
-z
${
passwords
[index]
}
]
;
then
cmd
=
"scp -o StrictHostKeyChecking=no
${
usernames
[index]
}
@
${
hosts
[index]
}
:
${
remote_coredump_dir
}
/*
$log_dir
/
${
case_file
}
.coredump/
"
scpcmd
=
"scp -o StrictHostKeyChecking=no -r
${
usernames
[index]
}
@
${
hosts
[index]
}
"
fi
cmd
=
"
$scpcmd
:
${
remote_coredump_dir
}
/*
$log_dir
/
${
case_file
}
.coredump/"
$cmd
# 2>/dev/null
local
case_info
=
`
echo
"
$line
"
|cut
-d
,
-f
3,4
`
local
corefile
=
`
ls
$log_dir
/
${
case_file
}
.coredump/
`
...
...
@@ -287,6 +288,15 @@ function run_thread() {
echo
-e
"
\e
[34m log file:
$log_dir
/
$case_file
.log
\e
[0m"
if
[
!
-z
"
$corefile
"
]
;
then
echo
-e
"
\e
[34m corefiles:
$corefile
\e
[0m"
local
build_dir
=
$log_dir
/build_
${
hosts
[index]
}
local
remote_build_dir
=
"
${
workdirs
[index]
}
/TDinternal/debug/build"
mkdir
$build_dir
2>/dev/null
if
[
$?
-eq
0
]
;
then
# scp build binary
cmd
=
"
$scpcmd
:
${
remote_build_dir
}
/*
${
build_dir
}
/"
echo
"
$cmd
"
$cmd
>
/dev/null
fi
fi
fi
done
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录