Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
8d1b0362
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看板
提交
8d1b0362
编写于
11月 27, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test: adjust case for asan mode
上级
8e746d7d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
24 addition
and
10 deletion
+24
-10
tests/parallel_test/cases.task
tests/parallel_test/cases.task
+4
-4
tests/script/sh/stop_dnodes.sh
tests/script/sh/stop_dnodes.sh
+17
-3
tests/system-test/7-tmq/subscribeDb3.py
tests/system-test/7-tmq/subscribeDb3.py
+2
-2
tests/system-test/7-tmq/tmqError.py
tests/system-test/7-tmq/tmqError.py
+1
-1
未找到文件。
tests/parallel_test/cases.task
浏览文件 @
8d1b0362
...
@@ -675,16 +675,16 @@
...
@@ -675,16 +675,16 @@
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeDb0.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeDb0.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeDb1.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeDb1.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeDb2.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeDb2.py
,,
,system-test,
python3 ./test.py -f 7-tmq/subscribeDb3.py
,,
y,system-test,./pytest.sh
python3 ./test.py -f 7-tmq/subscribeDb3.py
,,
,system-test,
python3 ./test.py -f 7-tmq/subscribeDb4.py
,,
y,system-test,./pytest.sh
python3 ./test.py -f 7-tmq/subscribeDb4.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb0.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb0.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb1.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb1.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb2.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb2.py
,,
,system-test,
python3 ./test.py -f 7-tmq/subscribeStb3.py
,,
y,system-test,./pytest.sh
python3 ./test.py -f 7-tmq/subscribeStb3.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb4.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/subscribeStb4.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/db.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/db.py
,,
n,system-test,
python3 ./test.py -f 7-tmq/tmqError.py
,,
y,system-test,./pytest.sh
python3 ./test.py -f 7-tmq/tmqError.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/schema.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/schema.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/stbFilter.py
,,y,system-test,./pytest.sh python3 ./test.py -f 7-tmq/stbFilter.py
,,,system-test,python3 ./test.py -f 7-tmq/tmqCheckData.py
,,,system-test,python3 ./test.py -f 7-tmq/tmqCheckData.py
...
...
tests/script/sh/stop_dnodes.sh
浏览文件 @
8d1b0362
...
@@ -30,13 +30,27 @@ done
...
@@ -30,13 +30,27 @@ done
PID
=
`
ps
-ef
|grep
-w
taos |
grep
-v
grep
|
awk
'{print $2}'
`
PID
=
`
ps
-ef
|grep
-w
taos |
grep
-v
grep
|
awk
'{print $2}'
`
while
[
-n
"
$PID
"
]
;
do
while
[
-n
"
$PID
"
]
;
do
echo kill
-9
$PID
echo kill
-9
$PID
#pkill -9 taos
d
#pkill -9 taos
kill
-9
$PID
kill
-9
$PID
echo
"Killing taos
d
processes"
echo
"Killing taos processes"
if
[
"
$OS_TYPE
"
!=
"Darwin"
]
;
then
if
[
"
$OS_TYPE
"
!=
"Darwin"
]
;
then
fuser
-k
-n
tcp 6030
fuser
-k
-n
tcp 6030
else
else
lsof
-nti
:6030 | xargs
kill
-9
lsof
-nti
:6030 | xargs
kill
-9
fi
fi
PID
=
`
ps
-ef
|grep
-w
taosd |
grep
-v
grep
|
awk
'{print $2}'
`
PID
=
`
ps
-ef
|grep
-w
taos |
grep
-v
grep
|
awk
'{print $2}'
`
done
PID
=
`
ps
-ef
|grep
-w
tmq_sim |
grep
-v
grep
|
awk
'{print $2}'
`
while
[
-n
"
$PID
"
]
;
do
echo kill
-9
$PID
#pkill -9 tmq_sim
kill
-9
$PID
echo
"Killing tmq_sim processes"
if
[
"
$OS_TYPE
"
!=
"Darwin"
]
;
then
fuser
-k
-n
tcp 6030
else
lsof
-nti
:6030 | xargs
kill
-9
fi
PID
=
`
ps
-ef
|grep
-w
tmq_sim |
grep
-v
grep
|
awk
'{print $2}'
`
done
done
tests/system-test/7-tmq/subscribeDb3.py
浏览文件 @
8d1b0362
...
@@ -238,7 +238,7 @@ class TDTestCase:
...
@@ -238,7 +238,7 @@ class TDTestCase:
if
(
platform
.
system
().
lower
()
==
'windows'
):
if
(
platform
.
system
().
lower
()
==
'windows'
):
os
.
system
(
"TASKKILL /F /IM tmq_sim.exe"
)
os
.
system
(
"TASKKILL /F /IM tmq_sim.exe"
)
else
:
else
:
os
.
system
(
'pkill tmq_sim'
)
os
.
system
(
'
unset LD_PRELOAD;
pkill tmq_sim'
)
expectRows
=
0
expectRows
=
0
resultList
=
self
.
selectConsumeResult
(
expectRows
)
resultList
=
self
.
selectConsumeResult
(
expectRows
)
...
@@ -316,7 +316,7 @@ class TDTestCase:
...
@@ -316,7 +316,7 @@ class TDTestCase:
if
(
platform
.
system
().
lower
()
==
'windows'
):
if
(
platform
.
system
().
lower
()
==
'windows'
):
os
.
system
(
"TASKKILL /F /IM tmq_sim.exe"
)
os
.
system
(
"TASKKILL /F /IM tmq_sim.exe"
)
else
:
else
:
os
.
system
(
'pkill tmq_sim'
)
os
.
system
(
'
unset LD_PRELOAD;
pkill tmq_sim'
)
# expectRows = 0
# expectRows = 0
# resultList = self.selectConsumeResult(expectRows)
# resultList = self.selectConsumeResult(expectRows)
...
...
tests/system-test/7-tmq/tmqError.py
浏览文件 @
8d1b0362
...
@@ -313,7 +313,7 @@ class TDTestCase:
...
@@ -313,7 +313,7 @@ class TDTestCase:
if
(
platform
.
system
().
lower
()
==
'windows'
):
if
(
platform
.
system
().
lower
()
==
'windows'
):
os
.
system
(
"TASKKILL /F /IM tmq_sim.exe"
)
os
.
system
(
"TASKKILL /F /IM tmq_sim.exe"
)
else
:
else
:
os
.
system
(
'pkill tmq_sim'
)
os
.
system
(
'
unset LD_PRELOAD;
pkill tmq_sim'
)
tdLog
.
printNoPrefix
(
"======== test case 1 end ...... "
)
tdLog
.
printNoPrefix
(
"======== test case 1 end ...... "
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录