Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Rattenking
TDengine
提交
c3cc71c0
T
TDengine
项目概览
Rattenking
/
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c3cc71c0
编写于
6月 10, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scripts
上级
d20c24f9
变更
53
隐藏空白更改
内联
并排
Showing
53 changed file
with
89 addition
and
84 deletion
+89
-84
tests/script/general/alter/cached_schema_after_alter.sim
tests/script/general/alter/cached_schema_after_alter.sim
+1
-1
tests/script/general/alter/metrics.sim
tests/script/general/alter/metrics.sim
+2
-2
tests/script/general/alter/table.sim
tests/script/general/alter/table.sim
+2
-2
tests/script/general/cache/restart_metrics.sim
tests/script/general/cache/restart_metrics.sim
+2
-1
tests/script/general/column/commit.sim
tests/script/general/column/commit.sim
+2
-2
tests/script/general/column/metrics.sim
tests/script/general/column/metrics.sim
+2
-2
tests/script/general/column/table.sim
tests/script/general/column/table.sim
+2
-2
tests/script/general/compress/commitlog.sim
tests/script/general/compress/commitlog.sim
+1
-1
tests/script/general/compress/compress.sim
tests/script/general/compress/compress.sim
+1
-1
tests/script/general/compress/compress2.sim
tests/script/general/compress/compress2.sim
+1
-1
tests/script/general/db/alter_tables_d2.sim
tests/script/general/db/alter_tables_d2.sim
+4
-4
tests/script/general/db/alter_tables_v1.sim
tests/script/general/db/alter_tables_v1.sim
+4
-4
tests/script/general/db/alter_tables_v4.sim
tests/script/general/db/alter_tables_v4.sim
+4
-4
tests/script/general/db/alter_vgroups.sim
tests/script/general/db/alter_vgroups.sim
+4
-4
tests/script/general/db/backup/keep.sim
tests/script/general/db/backup/keep.sim
+4
-4
tests/script/general/db/delete.sim
tests/script/general/db/delete.sim
+1
-1
tests/script/general/db/dropdnodes.sim
tests/script/general/db/dropdnodes.sim
+3
-2
tests/script/general/import/replica1.sim
tests/script/general/import/replica1.sim
+2
-2
tests/script/general/insert/insert_drop.sim
tests/script/general/insert/insert_drop.sim
+2
-2
tests/script/general/parser/auto_create_tb.sim
tests/script/general/parser/auto_create_tb.sim
+1
-1
tests/script/general/parser/commit.sim
tests/script/general/parser/commit.sim
+1
-1
tests/script/general/parser/first_last.sim
tests/script/general/parser/first_last.sim
+1
-1
tests/script/general/parser/interp.sim
tests/script/general/parser/interp.sim
+1
-1
tests/script/general/parser/lastrow.sim
tests/script/general/parser/lastrow.sim
+1
-1
tests/script/general/parser/limit.sim
tests/script/general/parser/limit.sim
+1
-1
tests/script/general/parser/limit1.sim
tests/script/general/parser/limit1.sim
+1
-1
tests/script/general/parser/limit1_tblocks100.sim
tests/script/general/parser/limit1_tblocks100.sim
+1
-1
tests/script/general/parser/limit2.sim
tests/script/general/parser/limit2.sim
+1
-1
tests/script/general/parser/select_from_cache_disk.sim
tests/script/general/parser/select_from_cache_disk.sim
+1
-1
tests/script/general/parser/single_row_in_tb.sim
tests/script/general/parser/single_row_in_tb.sim
+1
-1
tests/script/general/parser/slimit.sim
tests/script/general/parser/slimit.sim
+1
-1
tests/script/general/parser/slimit1.sim
tests/script/general/parser/slimit1.sim
+1
-1
tests/script/general/parser/slimit_alter_tags.sim
tests/script/general/parser/slimit_alter_tags.sim
+1
-1
tests/script/general/parser/tbnameIn.sim
tests/script/general/parser/tbnameIn.sim
+1
-1
tests/script/general/stable/disk.sim
tests/script/general/stable/disk.sim
+1
-1
tests/script/general/stable/dnode3.sim
tests/script/general/stable/dnode3.sim
+1
-8
tests/script/general/tag/commit.sim
tests/script/general/tag/commit.sim
+1
-1
tests/script/unique/big/balance.sim
tests/script/unique/big/balance.sim
+2
-0
tests/script/unique/cluster/balance1.sim
tests/script/unique/cluster/balance1.sim
+1
-1
tests/script/unique/cluster/balance3.sim
tests/script/unique/cluster/balance3.sim
+2
-0
tests/script/unique/db/commit.sim
tests/script/unique/db/commit.sim
+2
-2
tests/script/unique/db/delete.sim
tests/script/unique/db/delete.sim
+1
-1
tests/script/unique/db/replica_add13.sim
tests/script/unique/db/replica_add13.sim
+3
-3
tests/script/unique/db/replica_reduce21.sim
tests/script/unique/db/replica_reduce21.sim
+1
-1
tests/script/unique/dnode/balance2.sim
tests/script/unique/dnode/balance2.sim
+2
-0
tests/script/unique/dnode/balance3.sim
tests/script/unique/dnode/balance3.sim
+2
-1
tests/script/unique/dnode/balancex.sim
tests/script/unique/dnode/balancex.sim
+1
-0
tests/script/unique/dnode/remove1.sim
tests/script/unique/dnode/remove1.sim
+1
-0
tests/script/unique/dnode/remove2.sim
tests/script/unique/dnode/remove2.sim
+1
-1
tests/script/unique/dnode/vnode_clean.sim
tests/script/unique/dnode/vnode_clean.sim
+3
-2
tests/script/unique/mnode/mgmt22.sim
tests/script/unique/mnode/mgmt22.sim
+1
-1
tests/script/windows/alter/metrics.sim
tests/script/windows/alter/metrics.sim
+2
-2
tests/script/windows/alter/table.sim
tests/script/windows/alter/table.sim
+2
-2
未找到文件。
tests/script/general/alter/cached_schema_after_alter.sim
浏览文件 @
c3cc71c0
...
...
@@ -53,7 +53,7 @@ endi
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/alter/metrics.sim
浏览文件 @
c3cc71c0
...
...
@@ -375,9 +375,9 @@ endi
print ======== step9
print ======== step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql use d2
sql describe tb
...
...
tests/script/general/alter/table.sim
浏览文件 @
c3cc71c0
...
...
@@ -326,9 +326,9 @@ endi
print ======== step9
print ======== step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql use d1
sql describe tb
...
...
tests/script/general/cache/restart_metrics.sim
浏览文件 @
c3cc71c0
...
...
@@ -57,7 +57,8 @@ system sh/exec.sh -n dnode1 -s start
print =============== step3
print ==> sleep 8 seconds to renew cache
sleep 8000
sql reset query cache
sleep 1000
print =============== step4
sql create database $db
...
...
tests/script/general/column/commit.sim
浏览文件 @
c3cc71c0
...
...
@@ -89,9 +89,9 @@ endi
print =============== step4
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
4
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
print =============== step5
...
...
tests/script/general/column/metrics.sim
浏览文件 @
c3cc71c0
...
...
@@ -157,9 +157,9 @@ endi
print =============== step4
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
2
000
sleep
5
000
print =============== step5
...
...
tests/script/general/column/table.sim
浏览文件 @
c3cc71c0
...
...
@@ -129,9 +129,9 @@ endi
print =============== step4
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
2
000
sleep
5
000
print ============== step5
...
...
tests/script/general/compress/commitlog.sim
浏览文件 @
c3cc71c0
...
...
@@ -89,7 +89,7 @@ print =============== step4
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
print =============== step5
...
...
tests/script/general/compress/compress.sim
浏览文件 @
c3cc71c0
...
...
@@ -84,7 +84,7 @@ print =============== step4
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
print =============== step5
...
...
tests/script/general/compress/compress2.sim
浏览文件 @
c3cc71c0
...
...
@@ -84,7 +84,7 @@ print =============== step4
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
print =============== step5
...
...
tests/script/general/db/alter_tables_d2.sim
浏览文件 @
c3cc71c0
...
...
@@ -211,10 +211,10 @@ endi
print ============================ step7
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode2 -s start
sleep
3
000
sleep
5
000
sql reset query cache
sleep 1000
...
...
@@ -334,10 +334,10 @@ endi
print ============================ step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode2 -s start
sleep
3
000
sleep
5
000
sql reset query cache
sleep 1000
...
...
tests/script/general/db/alter_tables_v1.sim
浏览文件 @
c3cc71c0
...
...
@@ -143,9 +143,9 @@ endi
print ============================ step7
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql reset query cache
sleep 1000
...
...
@@ -245,9 +245,9 @@ endi
print ============================ step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql reset query cache
sleep 1000
...
...
tests/script/general/db/alter_tables_v4.sim
浏览文件 @
c3cc71c0
...
...
@@ -204,9 +204,9 @@ endi
print ============================ step7
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql reset query cache
sleep 1000
...
...
@@ -325,9 +325,9 @@ endi
print ============================ step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql reset query cache
sleep 1000
...
...
tests/script/general/db/alter_vgroups.sim
浏览文件 @
c3cc71c0
...
...
@@ -70,9 +70,9 @@ endi
print ============================ step3
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 2
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql create table db.t100 using db.st tags(0)
sql create table db.t101 using db.st tags(1)
...
...
@@ -132,9 +132,9 @@ print ============================ step5
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 3
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql create table db.t200 using db.st tags(0)
sql create table db.t201 using db.st tags(1)
...
...
tests/script/general/db/backup/keep.sim
浏览文件 @
c3cc71c0
...
...
@@ -50,9 +50,9 @@ endi
print ======== step2 stop dnode
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode2 -s start
sleep
3
000
sleep
5
000
sql select * from tb
print ===> rows $rows
...
...
@@ -112,9 +112,9 @@ endi
print ======== step5 stop dnode
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode2 -s start
sleep
3
000
sleep
5
000
sql select * from tb
print ===> rows $rows
...
...
tests/script/general/db/delete.sim
浏览文件 @
c3cc71c0
...
...
@@ -43,7 +43,7 @@ endi
print ======= step3
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
$x = 0
...
...
tests/script/general/db/dropdnodes.sim
浏览文件 @
c3cc71c0
...
...
@@ -70,7 +70,7 @@ endi
print ========== step3
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 500
sleep 500
0
sql drop dnode $hostname2
sleep 2000
...
...
@@ -101,4 +101,5 @@ endi
sql_error select * from db.t1
sql_error select * from db.t9
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode2 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/import/replica1.sim
浏览文件 @
c3cc71c0
...
...
@@ -93,7 +93,7 @@ endi
print ================== dnode restart
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep 5000
...
...
@@ -162,7 +162,7 @@ endi
print ================= step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep 5000
...
...
tests/script/general/insert/insert_drop.sim
浏览文件 @
c3cc71c0
...
...
@@ -43,7 +43,7 @@ print ====== tables created
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
@@ -69,7 +69,7 @@ endw
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
4
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
tests/script/general/parser/auto_create_tb.sim
浏览文件 @
c3cc71c0
...
...
@@ -208,7 +208,7 @@ endi
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/commit.sim
浏览文件 @
c3cc71c0
...
...
@@ -81,7 +81,7 @@ endw
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep 3000
print ================== server restart completed
...
...
tests/script/general/parser/first_last.sim
浏览文件 @
c3cc71c0
...
...
@@ -75,7 +75,7 @@ run general/parser/first_last_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/interp.sim
浏览文件 @
c3cc71c0
...
...
@@ -60,7 +60,7 @@ run general/parser/interp_test.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
tests/script/general/parser/lastrow.sim
浏览文件 @
c3cc71c0
...
...
@@ -61,7 +61,7 @@ run general/parser/lastrow_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/limit.sim
浏览文件 @
c3cc71c0
...
...
@@ -61,7 +61,7 @@ run general/parser/limit_stb.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/limit1.sim
浏览文件 @
c3cc71c0
...
...
@@ -61,7 +61,7 @@ run general/parser/limit1_stb.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
tests/script/general/parser/limit1_tblocks100.sim
浏览文件 @
c3cc71c0
...
...
@@ -61,7 +61,7 @@ run general/parser/limit1_stb.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
tests/script/general/parser/limit2.sim
浏览文件 @
c3cc71c0
...
...
@@ -71,7 +71,7 @@ print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
return
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
tests/script/general/parser/select_from_cache_disk.sim
浏览文件 @
c3cc71c0
...
...
@@ -36,7 +36,7 @@ sql insert into $tb values ('2018-09-17 09:00:00.030', 3)
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/single_row_in_tb.sim
浏览文件 @
c3cc71c0
...
...
@@ -31,7 +31,7 @@ run general/parser/single_row_in_tb_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
tests/script/general/parser/slimit.sim
浏览文件 @
c3cc71c0
...
...
@@ -98,7 +98,7 @@ run general/parser/slimit_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/slimit1.sim
浏览文件 @
c3cc71c0
...
...
@@ -57,7 +57,7 @@ run general/parser/slimit1_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/slimit_alter_tags.sim
浏览文件 @
c3cc71c0
...
...
@@ -170,7 +170,7 @@ endi
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
sql connect
...
...
tests/script/general/parser/tbnameIn.sim
浏览文件 @
c3cc71c0
...
...
@@ -68,7 +68,7 @@ run general/parser/tbnameIn_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
...
...
tests/script/general/stable/disk.sim
浏览文件 @
c3cc71c0
...
...
@@ -58,7 +58,7 @@ endi
sleep 1000
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep 6000
...
...
tests/script/general/stable/dnode3.sim
浏览文件 @
c3cc71c0
...
...
@@ -213,11 +213,4 @@ if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode2 -s stop -x SIGINT
system sh/exec.sh -n dnode3 -s stop -x SIGINT
system sh/exec.sh -n dnode4 -s stop -x SIGINT
system sh/exec.sh -n dnode5 -s stop -x SIGINT
system sh/exec.sh -n dnode6 -s stop -x SIGINT
system sh/exec.sh -n dnode7 -s stop -x SIGINT
system sh/exec.sh -n dnode8 -s stop -x SIGINT
\ No newline at end of file
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/tag/commit.sim
浏览文件 @
c3cc71c0
...
...
@@ -824,7 +824,7 @@ endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
print =============== step1
$i = 0
...
...
tests/script/unique/big/balance.sim
浏览文件 @
c3cc71c0
...
...
@@ -171,6 +171,7 @@ if $data2_3 != 2 then
endi
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
sql reset query cache
sleep 1000
...
...
@@ -227,6 +228,7 @@ if $data2_3 != null then
endi
system sh/exec.sh -n dnode3 -s stop -x SIGINT
sleep 5000
sql reset query cache
sleep 1000
...
...
tests/script/unique/cluster/balance1.sim
浏览文件 @
c3cc71c0
...
...
@@ -163,7 +163,7 @@ print dnode4 ==> $dnode4Role
print ============================== step5
print ========= add dnode2
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode3 -s start
sql create dnode $hostname3
sleep 9000
...
...
tests/script/unique/cluster/balance3.sim
浏览文件 @
c3cc71c0
...
...
@@ -381,6 +381,7 @@ if $dnode7Vnodes != 3 then
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
print ============================== step11
print ========= add db4
...
...
@@ -429,6 +430,7 @@ if $dnode7Vnodes != 4 then
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
print ============================== step13
sql reset query cache
...
...
tests/script/unique/db/commit.sim
浏览文件 @
c3cc71c0
...
...
@@ -50,7 +50,7 @@ print ======== step2 stop dnode
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
system sh/exec.sh -n dnode2 -s start
sleep
3
000
sleep
5
000
sql select * from tb order by ts desc
print ===> rows $rows
...
...
@@ -101,7 +101,7 @@ print ======== step5 stop dnode
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
system sh/exec.sh -n dnode2 -s start
sleep
3
000
sleep
5
000
sql select * from tb
print ===> rows $rows
...
...
tests/script/unique/db/delete.sim
浏览文件 @
c3cc71c0
...
...
@@ -69,7 +69,7 @@ system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode2 -s stop -x SIGINT
system sh/exec.sh -n dnode3 -s stop -x SIGINT
sleep
1
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode2 -s start
system sh/exec.sh -n dnode3 -s start
...
...
tests/script/unique/db/replica_add13.sim
浏览文件 @
c3cc71c0
...
...
@@ -171,7 +171,7 @@ print ========= step6
system sh/exec.sh -n dnode2 -s start
sleep 5000
system sh/exec.sh -n dnode3 -s stop -x SIGINT
sleep
3
000
sleep
5
000
sql insert into d1.t1 values(1589529000014, 4)
sql insert into d2.t2 values(1589529000024, 4)
...
...
@@ -206,7 +206,7 @@ print ========= step7
system sh/exec.sh -n dnode3 -s start
sleep 5000
system sh/exec.sh -n dnode4 -s stop -x SIGINT
sleep
3
000
sleep
5
000
sql insert into d1.t1 values(1589529000015, 5)
sql insert into d2.t2 values(1589529000025, 5)
...
...
@@ -237,7 +237,7 @@ print ========= step8
system sh/exec.sh -n dnode4 -s start
sleep 5000
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep
3
000
sleep
5
000
sql insert into d1.t1 values(1589529000016, 6)
sql insert into d2.t2 values(1589529000026, 6)
...
...
tests/script/unique/db/replica_reduce21.sim
浏览文件 @
c3cc71c0
...
...
@@ -118,7 +118,7 @@ endi
print ======== step9 stop dnode2
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep
3
000
sleep
5
000
sql insert into d5.t5 values(now, 3)
sql insert into d2.t2 values(now, 3)
...
...
tests/script/unique/dnode/balance2.sim
浏览文件 @
c3cc71c0
...
...
@@ -84,6 +84,7 @@ if $data2_3 != 2 then
endi
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
print ========== step3
sql create dnode $hostname4
...
...
@@ -210,6 +211,7 @@ if $data2_5 != 3 then
endi
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
sql reset query cache
sleep 1000
...
...
tests/script/unique/dnode/balance3.sim
浏览文件 @
c3cc71c0
...
...
@@ -99,7 +99,7 @@ if $data2_4 != 2 then
endi
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
print ========== step
sql create dnode $hostname5
system sh/exec.sh -n dnode5 -s start
...
...
@@ -239,6 +239,7 @@ if $data2_5 != 3 then
endi
system sh/exec.sh -n dnode3 -s stop -x SIGINT
sleep 5000
sql reset query cache
sleep 1000
...
...
tests/script/unique/dnode/balancex.sim
浏览文件 @
c3cc71c0
...
...
@@ -140,6 +140,7 @@ if $data2_3 != 3 then
endi
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
sql reset query cache
sleep 1000
...
...
tests/script/unique/dnode/remove1.sim
浏览文件 @
c3cc71c0
...
...
@@ -110,6 +110,7 @@ if $data2_2 != null then
endi
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sleep 5000
print ========== step5
sql create dnode $hostname4
...
...
tests/script/unique/dnode/remove2.sim
浏览文件 @
c3cc71c0
...
...
@@ -76,7 +76,7 @@ endi
print ========== step3
system sh/exec.sh -n dnode2 -s stop -x SIGINT
sql drop dnode $hostname2
sleep
4
000
sleep
5
000
sql show dnodes
print dnode1 openVnodes $data2_1
...
...
tests/script/unique/dnode/vnode_clean.sim
浏览文件 @
c3cc71c0
...
...
@@ -101,7 +101,7 @@ endi
system sh/exec.sh -n dnode2 -s stop -x SIGINT
print ========== step5
sleep
2
000
sleep
5
000
sql create dnode $hostname3
system sh/exec.sh -n dnode3 -s start
...
...
@@ -222,7 +222,8 @@ if $data2_4 != 4 then
goto show9
endi
system sh/exec.sh -n dnode3 -s stop -x SIGINT
system sh/exec.sh -n dnode3 -s stop
sleep 5000
print ========== step10
sql select * from d1.t1 order by t desc
...
...
tests/script/unique/mnode/mgmt22.sim
浏览文件 @
c3cc71c0
...
...
@@ -47,7 +47,7 @@ print should not drop master
print ============== step4
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
2
000
sleep
5
000
sql_error show mnodes
print error of no master
...
...
tests/script/windows/alter/metrics.sim
浏览文件 @
c3cc71c0
...
...
@@ -368,9 +368,9 @@ endi
print ======== step9
print ======== step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql use d2
sql describe tb
...
...
tests/script/windows/alter/table.sim
浏览文件 @
c3cc71c0
...
...
@@ -319,9 +319,9 @@ endi
print ======== step9
print ======== step10
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
5
000
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
5
000
sql use d1
sql describe tb
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录