Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
617eb33e
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
617eb33e
编写于
5月 15, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scripts
上级
75f3a460
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
63 addition
and
56 deletion
+63
-56
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+22
-22
tests/script/unique/db/replica_add13.sim
tests/script/unique/db/replica_add13.sim
+4
-0
tests/script/unique/dnode/balance1.sim
tests/script/unique/dnode/balance1.sim
+11
-11
tests/script/unique/dnode/balance2.sim
tests/script/unique/dnode/balance2.sim
+9
-9
tests/script/unique/dnode/balance3.sim
tests/script/unique/dnode/balance3.sim
+4
-4
tests/script/unique/dnode/balancex.sim
tests/script/unique/dnode/balancex.sim
+4
-4
tests/script/unique/dnode/offline1.sim
tests/script/unique/dnode/offline1.sim
+1
-1
tests/script/unique/dnode/offline2.sim
tests/script/unique/dnode/offline2.sim
+5
-2
tests/script/unique/stable/dnode3.sim
tests/script/unique/stable/dnode3.sim
+3
-3
未找到文件。
tests/script/jenkins/basic.txt
浏览文件 @
617eb33e
...
...
@@ -150,7 +150,7 @@ cd ../../../debug; make
#./test.sh -f general/parser/bug.sim
./test.sh -f general/stable/disk.sim
#./test.sh -f general/stable/dnode3.sim
#
liao
./test.sh -f general/stable/dnode3.sim
./test.sh -f general/stable/metrics.sim
./test.sh -f general/stable/values.sim
./test.sh -f general/stable/vnode3.sim
...
...
@@ -252,23 +252,23 @@ cd ../../../debug; make
./test.sh -u -f unique/column/replica3.sim
#
hongze crash
./test.sh -u -f unique/db/commit.sim
#
liao wait
./test.sh -u -f unique/db/commit.sim
./test.sh -u -f unique/db/delete.sim
./test.sh -u -f unique/db/delete_part.sim
./test.sh -u -f unique/db/replica_add12.sim
#hongze
crash
./test.sh -u -f unique/db/replica_add13.sim
#hongze
crash
./test.sh -u -f unique/db/replica_add23.sim
#hongze
crash
./test.sh -u -f unique/db/replica_reduce21.sim
#hongze ./test.sh -u -f unique/db/replica_add13.sim
#hongze
wait
./test.sh -u -f unique/db/replica_add23.sim
#hongze
wait
./test.sh -u -f unique/db/replica_reduce21.sim
./test.sh -u -f unique/db/replica_reduce32.sim
#hongze
crash
/test.sh -u -f unique/db/replica_reduce31.sim
#hongze
wait
/test.sh -u -f unique/db/replica_reduce31.sim
./test.sh -u -f unique/db/replica_part.sim
##
./test.sh -u -f unique/dnode/balance1.sim
##
./test.sh -u -f unique/dnode/balance2.sim
##
./test.sh -u -f unique/dnode/balance3.sim
##
./test.sh -u -f unique/dnode/balancex.sim
##
./test.sh -u -f unique/dnode/offline1.sim
#
#
./test.sh -u -f unique/dnode/offline2.sim
./test.sh -u -f unique/dnode/balance1.sim
./test.sh -u -f unique/dnode/balance2.sim
./test.sh -u -f unique/dnode/balance3.sim
./test.sh -u -f unique/dnode/balancex.sim
./test.sh -u -f unique/dnode/offline1.sim
#
hongze wait
./test.sh -u -f unique/dnode/offline2.sim
./test.sh -u -f unique/dnode/remove1.sim
#hongze ./test.sh -u -f unique/dnode/remove2.sim
./test.sh -u -f unique/dnode/vnode_clean.sim
...
...
@@ -276,17 +276,17 @@ cd ../../../debug; make
./test.sh -u -f unique/http/admin.sim
./test.sh -u -f unique/http/opentsdb.sim
#./test.sh -u -f unique/import/replica2.sim
#./test.sh -u -f unique/import/replica3.sim
#
liao wait
./test.sh -u -f unique/import/replica2.sim
#
liao wait
./test.sh -u -f unique/import/replica3.sim
#./test.sh -u -f unique/stable/balance_replica1.sim
#./test.sh -u -f unique/stable/dnode2_stop.sim
#./test.sh -u -f unique/stable/dnode2.sim
#./test.sh -u -f unique/stable/dnode3.sim
#./test.sh -u -f unique/stable/replica2_dnode4.sim
#./test.sh -u -f unique/stable/replica2_vnode3.sim
#./test.sh -u -f unique/stable/replica3_dnode6.sim
#./test.sh -u -f unique/stable/replica3_vnode3.sim
#
liao wait
./test.sh -u -f unique/stable/balance_replica1.sim
#
liao wait
./test.sh -u -f unique/stable/dnode2_stop.sim
#
liao wait
./test.sh -u -f unique/stable/dnode2.sim
#
liao wait
./test.sh -u -f unique/stable/dnode3.sim
#
liao wait
./test.sh -u -f unique/stable/replica2_dnode4.sim
#
liao wait
./test.sh -u -f unique/stable/replica2_vnode3.sim
#
liao wait
./test.sh -u -f unique/stable/replica3_dnode6.sim
#
liao wait
./test.sh -u -f unique/stable/replica3_vnode3.sim
./test.sh -u -f unique/mnode/mgmt22.sim
./test.sh -u -f unique/mnode/mgmt23.sim
...
...
tests/script/unique/db/replica_add13.sim
浏览文件 @
617eb33e
...
...
@@ -179,21 +179,25 @@ sql insert into d3.t3 values(now, 4)
sql insert into d4.t4 values(now, 4)
sql select * from d1.t1
print select * from d1.t1 $rows
if $rows != 4 then
return -1
endi
sql select * from d2.t2
print select * from d2.t2 $rows
if $rows != 4 then
return -1
endi
sql select * from d3.t3
print select * from d3.t3 $rows
if $rows != 4 then
return -1
endi
sql select * from d4.t4
print select * from d4.t4 $rows
if $rows != 4 then
return -1
endi
...
...
tests/script/unique/dnode/balance1.sim
浏览文件 @
617eb33e
...
...
@@ -53,7 +53,7 @@ $x = 0
show2:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -93,7 +93,7 @@ $x = 0
show4:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -103,7 +103,7 @@ print dnode2 openVnodes $data2_2
if $data2_1 != 2 then
goto show4
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show4
endi
if $rows != 1 then
...
...
@@ -131,7 +131,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 0 then
goto show5
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show5
endi
if $data2_3 != 2 then
...
...
@@ -155,7 +155,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 0 then
return -1
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
return -1
endi
if $data2_3 != 3 then
...
...
@@ -170,7 +170,7 @@ $x = 0
show7:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -182,7 +182,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then
goto show7
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show7
endi
if $data2_3 != 2 then
...
...
@@ -210,7 +210,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then
return -1
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
return -1
endi
if $data2_3 != 2 then
...
...
@@ -227,7 +227,7 @@ $x = 0
show9:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -240,10 +240,10 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then
goto show9
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show9
endi
if $data2_3 !=
NULL
then
if $data2_3 !=
null
then
goto show9
endi
if $data2_4 != 4 then
...
...
tests/script/unique/dnode/balance2.sim
浏览文件 @
617eb33e
...
...
@@ -65,7 +65,7 @@ $x = 0
show2:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -76,7 +76,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 2 then
goto show2
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show2
endi
if $data2_3 != 2 then
...
...
@@ -105,7 +105,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then
goto show3
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show3
endi
if $data2_3 != 2 then
...
...
@@ -132,7 +132,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 0 then
return -1
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
return -1
endi
if $data2_3 != 3 then
...
...
@@ -150,7 +150,7 @@ $x = 0
show5:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -163,7 +163,7 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then
goto show5
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show5
endi
if $data2_3 != 2 then
...
...
@@ -183,7 +183,7 @@ $x = 0
show6:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -196,10 +196,10 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then
goto show6
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show6
endi
if $data2_3 !=
NULL
then
if $data2_3 !=
null
then
goto show6
endi
if $data2_4 != 3 then
...
...
tests/script/unique/dnode/balance3.sim
浏览文件 @
617eb33e
...
...
@@ -88,7 +88,7 @@ print dnode4 openVnodes $data2_4
if $data2_1 != 2 then
goto show2
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show2
endi
if $data2_3 != 2 then
...
...
@@ -122,7 +122,7 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then
goto show3
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show3
endi
if $data2_3 != 2 then
...
...
@@ -162,7 +162,7 @@ print dnode5 openVnodes $data2_5
if $data2_1 != 0 then
goto show4
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show4
endi
if $data2_3 != 3 then
...
...
@@ -228,7 +228,7 @@ endi
if $data2_6 != 3 then
goto show6
endi
if $data2_3 !=
NULL
then
if $data2_3 !=
null
then
goto show6
endi
if $data2_4 != 3 then
...
...
tests/script/unique/dnode/balancex.sim
浏览文件 @
617eb33e
...
...
@@ -50,7 +50,7 @@ $x = 0
show2:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
...
...
@@ -77,7 +77,7 @@ $x = 0
show3:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
sql show dnodes
...
...
@@ -122,7 +122,7 @@ $x = 0
show5:
$x = $x + 1
sleep 2000
if $x ==
3
0 then
if $x ==
1
0 then
return -1
endi
sql show dnodes
...
...
@@ -132,7 +132,7 @@ print dnode3 openVnodes $data2_3
if $data2_1 != 1 then
goto show5
endi
if $data2_2 !=
NULL
then
if $data2_2 !=
null
then
goto show5
endi
if $data2_3 != 3 then
...
...
tests/script/unique/dnode/offline1.sim
浏览文件 @
617eb33e
...
...
@@ -63,7 +63,7 @@ print dnode1 $data4_2
if $data4_1 != ready then
return -1
endi
if $data4_2 !=
NULL
then
if $data4_2 !=
null
then
return -1
endi
...
...
tests/script/unique/dnode/offline2.sim
浏览文件 @
617eb33e
...
...
@@ -82,15 +82,18 @@ $x = 0
show4:
$x = $x + 1
sleep 5000
if $x ==
5
0 then
if $x ==
1
0 then
return -1
endi
sql show dnodes
print dnode1 $data4_1
print dnode2 $data4_2
print dnode3 $data4_3
if $data4_1 != ready then
goto show4
endi
if $data4_2 !=
NULL
then
if $data4_2 !=
null
then
goto show4
endi
if $data4_3 != ready then
...
...
tests/script/unique/stable/dnode3.sim
浏览文件 @
617eb33e
...
...
@@ -77,11 +77,11 @@ if $rows != 3 then
endi
sql show dnodes
$dnode1Vnodes = $data
3_192.168.0.
1
$dnode1Vnodes = $data
2_
1
print dnode1 $dnode1Vnodes
$dnode2Vnodes = $data
3_192.168.0.
2
$dnode2Vnodes = $data
2_
2
print dnode2 $dnode2Vnodes
$dnode3Vnodes = $data
3_192.168.0.
3
$dnode3Vnodes = $data
2_
3
print dnode3 $dnode3Vnodes
if $dnode1Vnodes != 3 then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录