Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
12af01ad
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1185
Star
22015
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看板
提交
12af01ad
编写于
6月 12, 2020
作者:
H
Hui Li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[modify sim cases]
上级
7b48f589
变更
15
显示空白变更内容
内联
并排
Showing
15 changed file
with
20 addition
and
20 deletion
+20
-20
tests/script/unique/arbitrator/dn3_mn1_replica_change.sim
tests/script/unique/arbitrator/dn3_mn1_replica_change.sim
+1
-1
tests/script/unique/arbitrator/dn3_mn1_replica_change_dropDnod.sim
...ipt/unique/arbitrator/dn3_mn1_replica_change_dropDnod.sim
+1
-1
tests/script/unique/arbitrator/dn3_mn1_vnode_change.sim
tests/script/unique/arbitrator/dn3_mn1_vnode_change.sim
+1
-1
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_offline.sim
...t/unique/arbitrator/dn3_mn1_vnode_corruptFile_offline.sim
+1
-1
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_online.sim
...pt/unique/arbitrator/dn3_mn1_vnode_corruptFile_online.sim
+1
-1
tests/script/unique/arbitrator/dn3_mn1_vnode_delDir.sim
tests/script/unique/arbitrator/dn3_mn1_vnode_delDir.sim
+1
-1
tests/script/unique/arbitrator/dn3_mn1_vnode_nomaster.sim
tests/script/unique/arbitrator/dn3_mn1_vnode_nomaster.sim
+2
-2
tests/script/unique/arbitrator/offline_replica2_alterTable_online.sim
.../unique/arbitrator/offline_replica2_alterTable_online.sim
+1
-1
tests/script/unique/arbitrator/offline_replica2_createTable_online.sim
...unique/arbitrator/offline_replica2_createTable_online.sim
+1
-1
tests/script/unique/arbitrator/offline_replica2_dropDb_online.sim
...ript/unique/arbitrator/offline_replica2_dropDb_online.sim
+1
-1
tests/script/unique/arbitrator/offline_replica2_dropTable_online.sim
...t/unique/arbitrator/offline_replica2_dropTable_online.sim
+3
-3
tests/script/unique/arbitrator/offline_replica3_alterTable_online.sim
.../unique/arbitrator/offline_replica3_alterTable_online.sim
+1
-1
tests/script/unique/arbitrator/offline_replica3_createTable_online.sim
...unique/arbitrator/offline_replica3_createTable_online.sim
+1
-1
tests/script/unique/arbitrator/offline_replica3_dropDb_online.sim
...ript/unique/arbitrator/offline_replica3_dropDb_online.sim
+1
-1
tests/script/unique/arbitrator/offline_replica3_dropTable_online.sim
...t/unique/arbitrator/offline_replica3_dropTable_online.sim
+3
-3
未找到文件。
tests/script/unique/arbitrator/dn3_mn1_replica_change.sim
浏览文件 @
12af01ad
...
@@ -51,7 +51,7 @@ system sh/exec.sh -n dnode2 -s start
...
@@ -51,7 +51,7 @@ system sh/exec.sh -n dnode2 -s start
sql create dnode $hostname2
sql create dnode $hostname2
sleep 3000
sleep 3000
$totalTableNum = 10
000
$totalTableNum = 10
$sleepTimer = 10000
$sleepTimer = 10000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/dn3_mn1_replica_change_dropDnod.sim
浏览文件 @
12af01ad
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
00
$totalTableNum = 10
$sleepTimer = 10000
$sleepTimer = 10000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_change.sim
浏览文件 @
12af01ad
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_offline.sim
浏览文件 @
12af01ad
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
#sql create dnode $hostname4
#sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_online.sim
浏览文件 @
12af01ad
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
#sql create dnode $hostname4
#sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_delDir.sim
浏览文件 @
12af01ad
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_nomaster.sim
浏览文件 @
12af01ad
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
...
@@ -55,7 +55,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
@@ -152,7 +152,7 @@ print ============== step4: restart dnode2, then create database with replica 2,
...
@@ -152,7 +152,7 @@ print ============== step4: restart dnode2, then create database with replica 2,
system sh/exec.sh -n dnode2 -s start
system sh/exec.sh -n dnode2 -s start
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db1
$db = db1
...
...
tests/script/unique/arbitrator/offline_replica2_alterTable_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/offline_replica2_createTable_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$maxTables = $totalTableNum * 2
$maxTables = $totalTableNum * 2
...
...
tests/script/unique/arbitrator/offline_replica2_dropDb_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/offline_replica2_dropTable_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
...
@@ -56,7 +56,7 @@ sql create dnode $hostname2
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
@@ -146,14 +146,14 @@ endi
...
@@ -146,14 +146,14 @@ endi
print ============== step4: drop some tables
print ============== step4: drop some tables
$i = 1
$i = 1
$dropTblNum =
21
$dropTblNum =
6
while $i < $dropTblNum
while $i < $dropTblNum
$tb = tb . $i
$tb = tb . $i
sql drop table if exists $tb
sql drop table if exists $tb
$i = $i + 1
$i = $i + 1
endw
endw
$tblNum = $tblNum -
20
$tblNum = $tblNum -
5
print ============== step5: restart dnode4, waiting dnode4 synced
print ============== step5: restart dnode4, waiting dnode4 synced
system sh/exec.sh -n dnode4 -s start
system sh/exec.sh -n dnode4 -s start
...
...
tests/script/unique/arbitrator/offline_replica3_alterTable_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/offline_replica3_createTable_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$maxTables = $totalTableNum * 2
$maxTables = $totalTableNum * 2
...
...
tests/script/unique/arbitrator/offline_replica3_dropDb_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
...
tests/script/unique/arbitrator/offline_replica3_dropTable_online.sim
浏览文件 @
12af01ad
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
...
@@ -56,7 +56,7 @@ sql create dnode $hostname3
sql create dnode $hostname4
sql create dnode $hostname4
sleep 3000
sleep 3000
$totalTableNum = 10
0
$totalTableNum = 10
$sleepTimer = 3000
$sleepTimer = 3000
$db = db
$db = db
...
@@ -146,14 +146,14 @@ endi
...
@@ -146,14 +146,14 @@ endi
print ============== step4: drop some tables
print ============== step4: drop some tables
$i = 1
$i = 1
$dropTblNum =
21
$dropTblNum =
6
while $i < $dropTblNum
while $i < $dropTblNum
$tb = tb . $i
$tb = tb . $i
sql drop table if exists $tb
sql drop table if exists $tb
$i = $i + 1
$i = $i + 1
endw
endw
$tblNum = $tblNum -
20
$tblNum = $tblNum -
5
print ============== step5: restart dnode4, waiting dnode4 synced
print ============== step5: restart dnode4, waiting dnode4 synced
system sh/exec.sh -n dnode4 -s start
system sh/exec.sh -n dnode4 -s start
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录