Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
942f67e2
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看板
提交
942f67e2
编写于
5月 07, 2020
作者:
S
slguan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scripts
上级
905f682e
变更
88
隐藏空白更改
内联
并排
Showing
88 changed file
with
257 addition
and
239 deletion
+257
-239
tests/script/general/agg/stream.sim
tests/script/general/agg/stream.sim
+1
-1
tests/script/general/alter/cached_schema_after_alter.sim
tests/script/general/alter/cached_schema_after_alter.sim
+1
-1
tests/script/general/alter/count.sim
tests/script/general/alter/count.sim
+1
-1
tests/script/general/alter/import.sim
tests/script/general/alter/import.sim
+1
-1
tests/script/general/alter/insert1.sim
tests/script/general/alter/insert1.sim
+1
-1
tests/script/general/alter/insert2.sim
tests/script/general/alter/insert2.sim
+1
-1
tests/script/general/column/stream.sim
tests/script/general/column/stream.sim
+1
-1
tests/script/general/db/basic.sim
tests/script/general/db/basic.sim
+2
-2
tests/script/general/db/delete_reusevnode.sim
tests/script/general/db/delete_reusevnode.sim
+1
-1
tests/script/general/db/delete_reusevnode2.sim
tests/script/general/db/delete_reusevnode2.sim
+1
-1
tests/script/general/db/delete_writing2.sim
tests/script/general/db/delete_writing2.sim
+1
-1
tests/script/general/db/repeat.sim
tests/script/general/db/repeat.sim
+2
-2
tests/script/general/db/testSuite.sim
tests/script/general/db/testSuite.sim
+10
-7
tests/script/general/http/restful.sim
tests/script/general/http/restful.sim
+1
-1
tests/script/general/http/restful_full.sim
tests/script/general/http/restful_full.sim
+1
-1
tests/script/general/metrics/disk.sim
tests/script/general/metrics/disk.sim
+1
-1
tests/script/general/metrics/vnode3.sim
tests/script/general/metrics/vnode3.sim
+1
-1
tests/script/general/parser/auto_create_tb_drop_tb.sim
tests/script/general/parser/auto_create_tb_drop_tb.sim
+1
-1
tests/script/general/parser/first_last.sim
tests/script/general/parser/first_last.sim
+1
-1
tests/script/general/parser/groupby.sim
tests/script/general/parser/groupby.sim
+1
-1
tests/script/general/parser/join.sim
tests/script/general/parser/join.sim
+1
-1
tests/script/general/parser/join_multivnode.sim
tests/script/general/parser/join_multivnode.sim
+1
-1
tests/script/general/parser/lastrow.sim
tests/script/general/parser/lastrow.sim
+1
-1
tests/script/general/parser/mixed_blocks.sim
tests/script/general/parser/mixed_blocks.sim
+1
-1
tests/script/general/parser/projection_limit_offset.sim
tests/script/general/parser/projection_limit_offset.sim
+1
-1
tests/script/general/parser/select_with_tags.sim
tests/script/general/parser/select_with_tags.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/timestamp.sim
tests/script/general/parser/timestamp.sim
+1
-1
tests/script/general/parser/where.sim
tests/script/general/parser/where.sim
+1
-1
tests/script/general/table/vgroup.sim
tests/script/general/table/vgroup.sim
+1
-1
tests/script/general/user/pass_alter.sim
tests/script/general/user/pass_alter.sim
+1
-1
tests/script/general/user/pass_len.sim
tests/script/general/user/pass_len.sim
+1
-1
tests/script/general/user/user_create.sim
tests/script/general/user/user_create.sim
+1
-1
tests/script/general/user/user_len.sim
tests/script/general/user/user_len.sim
+1
-1
tests/script/unique/account/account_create.sim
tests/script/unique/account/account_create.sim
+1
-1
tests/script/unique/account/account_delete.sim
tests/script/unique/account/account_delete.sim
+1
-1
tests/script/unique/account/account_len.sim
tests/script/unique/account/account_len.sim
+1
-1
tests/script/unique/account/authority.sim
tests/script/unique/account/authority.sim
+1
-1
tests/script/unique/account/pass_alter.sim
tests/script/unique/account/pass_alter.sim
+1
-1
tests/script/unique/account/pass_len.sim
tests/script/unique/account/pass_len.sim
+1
-1
tests/script/unique/account/user_create.sim
tests/script/unique/account/user_create.sim
+1
-1
tests/script/unique/account/user_len.sim
tests/script/unique/account/user_len.sim
+1
-1
tests/script/unique/big/balance.sim
tests/script/unique/big/balance.sim
+5
-5
tests/script/unique/cluster/balance1.sim
tests/script/unique/cluster/balance1.sim
+16
-16
tests/script/unique/cluster/balance2.sim
tests/script/unique/cluster/balance2.sim
+11
-11
tests/script/unique/cluster/balance3.sim
tests/script/unique/cluster/balance3.sim
+23
-8
tests/script/unique/column/replica3.sim
tests/script/unique/column/replica3.sim
+3
-3
tests/script/unique/db/delete.sim
tests/script/unique/db/delete.sim
+3
-3
tests/script/unique/db/delete_part.sim
tests/script/unique/db/delete_part.sim
+8
-8
tests/script/unique/db/replica_add12.sim
tests/script/unique/db/replica_add12.sim
+4
-4
tests/script/unique/db/replica_add13.sim
tests/script/unique/db/replica_add13.sim
+4
-4
tests/script/unique/db/replica_add23.sim
tests/script/unique/db/replica_add23.sim
+4
-4
tests/script/unique/db/replica_part.sim
tests/script/unique/db/replica_part.sim
+3
-3
tests/script/unique/db/replica_reduce21.sim
tests/script/unique/db/replica_reduce21.sim
+3
-3
tests/script/unique/db/replica_reduce31.sim
tests/script/unique/db/replica_reduce31.sim
+3
-3
tests/script/unique/db/replica_reduce32.sim
tests/script/unique/db/replica_reduce32.sim
+3
-3
tests/script/unique/dnode/balance1.sim
tests/script/unique/dnode/balance1.sim
+12
-12
tests/script/unique/dnode/balance2.sim
tests/script/unique/dnode/balance2.sim
+8
-8
tests/script/unique/dnode/balance3.sim
tests/script/unique/dnode/balance3.sim
+9
-9
tests/script/unique/dnode/balancex.sim
tests/script/unique/dnode/balancex.sim
+7
-7
tests/script/unique/dnode/monitor_bug.sim
tests/script/unique/dnode/monitor_bug.sim
+2
-2
tests/script/unique/dnode/offline1.sim
tests/script/unique/dnode/offline1.sim
+3
-3
tests/script/unique/dnode/offline2.sim
tests/script/unique/dnode/offline2.sim
+4
-4
tests/script/unique/dnode/remove1.sim
tests/script/unique/dnode/remove1.sim
+7
-7
tests/script/unique/dnode/remove2.sim
tests/script/unique/dnode/remove2.sim
+7
-7
tests/script/unique/dnode/vnode_clean.sim
tests/script/unique/dnode/vnode_clean.sim
+8
-8
tests/script/unique/http/admin.sim
tests/script/unique/http/admin.sim
+1
-1
tests/script/unique/http/opentsdb.sim
tests/script/unique/http/opentsdb.sim
+1
-1
tests/script/unique/metrics/balance_replica1.sim
tests/script/unique/metrics/balance_replica1.sim
+1
-1
tests/script/unique/metrics/dnode2.sim
tests/script/unique/metrics/dnode2.sim
+1
-1
tests/script/unique/metrics/dnode2_stop.sim
tests/script/unique/metrics/dnode2_stop.sim
+1
-1
tests/script/unique/metrics/dnode3.sim
tests/script/unique/metrics/dnode3.sim
+1
-1
tests/script/unique/metrics/replica2_dnode4.sim
tests/script/unique/metrics/replica2_dnode4.sim
+1
-1
tests/script/unique/metrics/replica2_vnode3.sim
tests/script/unique/metrics/replica2_vnode3.sim
+1
-1
tests/script/unique/metrics/replica3_dnode6.sim
tests/script/unique/metrics/replica3_dnode6.sim
+1
-1
tests/script/unique/metrics/replica3_vnode3.sim
tests/script/unique/metrics/replica3_vnode3.sim
+1
-1
tests/script/unique/stream/metrics_balance.sim
tests/script/unique/stream/metrics_balance.sim
+1
-1
tests/script/unique/stream/table_balance.sim
tests/script/unique/stream/table_balance.sim
+1
-1
tests/script/unique/stream/table_move.sim
tests/script/unique/stream/table_move.sim
+5
-5
tests/script/unique/vnode/commit.sim
tests/script/unique/vnode/commit.sim
+2
-2
tests/script/unique/vnode/many.sim
tests/script/unique/vnode/many.sim
+4
-4
tests/script/unique/vnode/replica2_basic.sim
tests/script/unique/vnode/replica2_basic.sim
+2
-2
tests/script/unique/vnode/replica2_basic2.sim
tests/script/unique/vnode/replica2_basic2.sim
+4
-4
tests/script/unique/vnode/replica2_repeat.sim
tests/script/unique/vnode/replica2_repeat.sim
+4
-4
tests/script/unique/vnode/replica3_basic.sim
tests/script/unique/vnode/replica3_basic.sim
+3
-3
tests/script/unique/vnode/replica3_repeat.sim
tests/script/unique/vnode/replica3_repeat.sim
+4
-4
tests/script/unique/vnode/replica3_vgroup.sim
tests/script/unique/vnode/replica3_vgroup.sim
+3
-3
未找到文件。
tests/script/general/agg/stream.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
print ========== step1
system sh/cfg.sh -n dnode1 -c monitor -v 1
...
...
tests/script/general/alter/cached_schema_after_alter.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
...
...
tests/script/general/alter/count.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 4
...
...
tests/script/general/alter/import.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 4
...
...
tests/script/general/alter/insert1.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/alter/insert2.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/column/stream.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
print ========== step1
system sh/cfg.sh -n dnode1 -c monitor -v 1
...
...
tests/script/general/db/basic.sim
浏览文件 @
942f67e2
...
...
@@ -2,9 +2,9 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
tables
-v 1000
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 1000
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/db/delete_reusevnode.sim
浏览文件 @
942f67e2
...
...
@@ -65,7 +65,7 @@ $tbPrefix = t
$i = 0
while $i < 1000
$db = db . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table st (ts timesetamp, i int) tags(j int);
...
...
tests/script/general/db/delete_reusevnode2.sim
浏览文件 @
942f67e2
...
...
@@ -17,7 +17,7 @@ sleep 3000
print ======== step1
sql create database db
t
ables 4;
sql create database db
maxT
ables 4;
sql use db
...
...
tests/script/general/db/delete_writing2.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
print ========= start dnodes
...
...
tests/script/general/db/repeat.sim
浏览文件 @
942f67e2
...
...
@@ -2,9 +2,9 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
tables
-v 4
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 4
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/db/testSuite.sim
浏览文件 @
942f67e2
#run general//db/basic.sim
run general/db/basic1.sim
run general/db/basic2.sim
run general/db/basic3.sim
run general/db/basic4.sim
run general/db/basic5.sim
#run general//db/tables.sim
#run general//db/basic.sim
#run general//db/len.sim
#run general//db/delete_reuse1.sim
#run general//db/delete_reuse2.sim
#run general//db/delete_writing1.sim
#run general//db/delete_writing2.sim
#run general/db/delete_reuse1.sim
#run general/db/delete_reuse2.sim
#run general/db/delete_writing1.sim
#run general/db/delete_writing2.sim
#run general/db/len.sim
#run general/db/repeat.sim
#run general/db/tables.sim
tests/script/general/http/restful.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
sleep 5000
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c http -v 1
system sh/cfg.sh -n dnode1 -c httpEnableRecordSql -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/http/restful_full.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
sleep 5000
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c http -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/metrics/disk.sim
浏览文件 @
942f67e2
...
...
@@ -24,7 +24,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/general/metrics/vnode3.sim
浏览文件 @
942f67e2
...
...
@@ -24,7 +24,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/general/parser/auto_create_tb_drop_tb.sim
浏览文件 @
942f67e2
...
...
@@ -22,7 +22,7 @@ $stb = $stbPrefix . $i
sql drop database $db -x step1
step1:
sql create database $db rows 200 cache 2048
t
ables 4
sql create database $db rows 200 cache 2048
maxT
ables 4
print ====== create tables
sql use $db
...
...
tests/script/general/parser/first_last.sim
浏览文件 @
942f67e2
...
...
@@ -21,7 +21,7 @@ $stb = $stbPrefix . $i
sql drop database $db -x step1
step1:
sql create database $db rows 400 cache 4096
t
ables 4
sql create database $db rows 400 cache 4096
maxT
ables 4
sql use $db
sql create table $stb (ts timestamp, c1 int, c2 bigint, c3 float, c4 double, c5 smallint, c6 tinyint, c7 bool, c8 binary(10), c9 nchar(10)) tags(t1 int)
...
...
tests/script/general/parser/groupby.sim
浏览文件 @
942f67e2
...
...
@@ -28,7 +28,7 @@ $tstart = 100000
sql drop database if exits $db -x step1
step1:
sql create database if not exists $db
t
ables 4 keep 36500
sql create database if not exists $db
maxT
ables 4 keep 36500
sql use $db
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
...
...
tests/script/general/parser/join.sim
浏览文件 @
942f67e2
...
...
@@ -24,7 +24,7 @@ $tstart = 100000
sql drop database if exits $db -x step1
step1:
sql create database if not exists $db
t
ables 4 keep 36500
sql create database if not exists $db
maxT
ables 4 keep 36500
sql use $db
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
...
...
tests/script/general/parser/join_multivnode.sim
浏览文件 @
942f67e2
...
...
@@ -22,7 +22,7 @@ $tstart = 100000
sql drop database if exits $db -x step1
step1:
sql create database if not exists $db
t
ables 4 keep 36500
sql create database if not exists $db
maxT
ables 4 keep 36500
sql use $db
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
...
...
tests/script/general/parser/lastrow.sim
浏览文件 @
942f67e2
...
...
@@ -21,7 +21,7 @@ $stb = $stbPrefix . $i
sql drop database $db -x step1
step1:
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $stb (ts timestamp, c1 int, c2 bigint, c3 float, c4 double, c5 smallint, c6 tinyint, c7 bool, c8 binary(10), c9 nchar(10)) tags(t1 int)
...
...
tests/script/general/parser/mixed_blocks.sim
浏览文件 @
942f67e2
...
...
@@ -22,7 +22,7 @@ sql drop database if exists $db
$paramRows = 200
$rowNum = $paramRows * 4
$rowNum = $rowNum / 5
sql create database $db rows $paramRows
t
ables 4
sql create database $db rows $paramRows
maxT
ables 4
print ====== create tables
sql use $db
sql create table $stb (ts timestamp, c1 int, c2 bigint, c3 float, c4 double, c5 bool, c6 binary(10), c7 nchar(10)) tags(t1 int)
...
...
tests/script/general/parser/projection_limit_offset.sim
浏览文件 @
942f67e2
...
...
@@ -22,7 +22,7 @@ $tstart = 100000
sql drop database if exits $db -x step1
step1:
sql create database if not exists $db
t
ables 4 keep 36500
sql create database if not exists $db
maxT
ables 4 keep 36500
sql use $db
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
...
...
tests/script/general/parser/select_with_tags.sim
浏览文件 @
942f67e2
...
...
@@ -23,7 +23,7 @@ $tstart = 100000
sql drop database if exists $db -x step1
step1:
sql create database if not exists $db
t
ables 4 keep 36500
sql create database if not exists $db
maxT
ables 4 keep 36500
sql use $db
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
...
...
tests/script/general/parser/single_row_in_tb.sim
浏览文件 @
942f67e2
...
...
@@ -15,7 +15,7 @@ $db = $dbPrefix
$stb = $stbPrefix
sql drop database if exists $db
sql create database $db rows 200
t
ables 4
sql create database $db rows 200
maxT
ables 4
print ====== create tables
sql use $db
sql create table $stb (ts timestamp, c1 int, c2 bigint, c3 float, c4 double, c5 bool, c6 binary(10), c7 nchar(10)) tags(t1 int)
...
...
tests/script/general/parser/slimit.sim
浏览文件 @
942f67e2
...
...
@@ -22,7 +22,7 @@ $db = $dbPrefix . $i
$stb = $stbPrefix . $i
sql drop database if exists $db
sql create database $db rows 200 cache 1024 tblocks 200
t
ables 4
sql create database $db rows 200 cache 1024 tblocks 200
maxT
ables 4
print ====== create tables
sql use $db
sql create table $stb (ts timestamp, c1 int, c2 bigint, c3 float, c4 double, c5 smallint, c6 tinyint, c7 bool, c8 binary(10), c9 nchar(10)) tags(t1 binary(15), t2 int, t3 bigint, t4 nchar(10), t5 double, t6 bool)
...
...
tests/script/general/parser/timestamp.sim
浏览文件 @
942f67e2
...
...
@@ -21,7 +21,7 @@ $db = $dbPrefix . $i
$stb = $stbPrefix . $i
sql drop database if exists $db
sql create database $db rows 200 cache 1024 tblocks 200
t
ables 4
sql create database $db rows 200 cache 1024 tblocks 200
maxT
ables 4
print ====== create tables
sql use $db
sql create table $stb (ts timestamp, c1 timestamp, c2 int) tags(t1 binary(20))
...
...
tests/script/general/parser/where.sim
浏览文件 @
942f67e2
...
...
@@ -21,7 +21,7 @@ $mt = $mtPrefix . $i
sql drop database if exits $db -x step1
step1:
sql create database if not exists $db
t
ables 4
sql create database if not exists $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int)
...
...
tests/script/general/table/vgroup.sim
浏览文件 @
942f67e2
...
...
@@ -17,7 +17,7 @@ $db = $dbPrefix . $i
$tb = $tbPrefix . $i
print =================== step 1
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql show vgroups
if $rows != 0 then
...
...
tests/script/general/user/pass_alter.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
...
...
tests/script/general/user/pass_len.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/user/user_create.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/general/user/user_len.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/unique/account/account_create.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/account/account_delete.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/account/account_len.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/account/authority.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/account/pass_alter.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/account/pass_len.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/account/user_create.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/account/user_len.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/big/balance.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
tables
-v 1000
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 1000
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c
tables
-v 1000
system sh/cfg.sh -n dnode2 -c
maxtablesPerVnode
-v 1000
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c
tables
-v 1000
system sh/cfg.sh -n dnode3 -c
maxtablesPerVnode
-v 1000
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c
tables
-v 1000
system sh/cfg.sh -n dnode4 -c
maxtablesPerVnode
-v 1000
system sh/deploy.sh -n dnode5 -i 5
system sh/cfg.sh -n dnode5 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode5 -c
tables
-v 1000
system sh/cfg.sh -n dnode5 -c
maxtablesPerVnode
-v 1000
print =============== prepare data
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/unique/cluster/balance1.sim
浏览文件 @
942f67e2
...
...
@@ -35,21 +35,21 @@ system sh/cfg.sh -n dnode6 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode7 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode8 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode5 -c
clog
-v 1
system sh/cfg.sh -n dnode6 -c
clog
-v 1
system sh/cfg.sh -n dnode7 -c
clog
-v 1
system sh/cfg.sh -n dnode8 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
system sh/cfg.sh -n dnode5 -c
wallevel
-v 1
system sh/cfg.sh -n dnode6 -c
wallevel
-v 1
system sh/cfg.sh -n dnode7 -c
wallevel
-v 1
system sh/cfg.sh -n dnode8 -c
wallevel
-v 1
print ============== step1
print ========= start dnode1
system sh/exec_up.sh -n dnode1 -s start
sql connect
sql create database c_b1_d1
t
ables 4
sql create database c_b1_d1
maxT
ables 4
sql use c_b1_d1
sql create table c_b1_t1 (t timestamp, i int)
...
...
@@ -59,7 +59,7 @@ sql insert into c_b1_t1 values(1520000022013, 13)
sql insert into c_b1_t1 values(1520000023012, 12)
sql insert into c_b1_t1 values(1520000024011, 11)
sql create database c_b1_d2
t
ables 4
sql create database c_b1_d2
maxT
ables 4
sql use c_b1_d2
sql create table c_b1_t2 (t timestamp, i int)
sql insert into c_b1_t2 values(1520000020025, 25)
...
...
@@ -116,7 +116,7 @@ print dnode2 ==> $dnode2Role
print ============================== step3
print ========= add db3
sql create database c_b1_d3
t
ables 4
sql create database c_b1_d3
maxT
ables 4
sql use c_b1_d3
sql create table c_b1_t3 (t timestamp, i int)
sql insert into c_b1_t3 values(1520000020035, 35)
...
...
@@ -289,7 +289,7 @@ if $dnode4Role != slave then
endi
print ============================== step10
sql create database c_b1_d4
t
ables 4
sql create database c_b1_d4
maxT
ables 4
sql use c_b1_d4
sql create table c_b1_t4 (t timestamp, i int)
sql insert into c_b1_t4 values(1520000020045, 45)
...
...
@@ -327,7 +327,7 @@ sql use c_b1_d2
sql insert into c_b1_t2 values(1520000025026, 26)
print ============================== step12
sql create database c_b1_d5
t
ables 4
sql create database c_b1_d5
maxT
ables 4
sql use c_b1_d5
sql_error create table c_b1_t5 (t timestamp, i int) -x error3
...
...
@@ -352,7 +352,7 @@ sql insert into c_b1_t5 values(1520000022053, 53)
sql insert into c_b1_t5 values(1520000023052, 52)
sql insert into c_b1_t5 values(1520000024051, 51)
sql create database c_b1_d6
t
ables 4
sql create database c_b1_d6
maxT
ables 4
sql use c_b1_d6
sql create table c_b1_t6 (t timestamp, i int)
sql insert into c_b1_t6 values(1520000020065, 65)
...
...
@@ -384,7 +384,7 @@ sql create dnode $hostname6
system sh/exec_up.sh -n dnode6 -s start
sleep 15000
sql create database c_b1_d7
t
ables 4
sql create database c_b1_d7
maxT
ables 4
sql use c_b1_d7
sql create table c_b1_t7 (t timestamp, i int)
sql insert into c_b1_t7 values(1520000020075, 75)
...
...
@@ -393,7 +393,7 @@ sql insert into c_b1_t7 values(1520000022073, 73)
sql insert into c_b1_t7 values(1520000023072, 72)
sql insert into c_b1_t7 values(1520000024071, 71)
sql create database c_b1_d8
t
ables 4
sql create database c_b1_d8
maxT
ables 4
sql use c_b1_d8
sql create table c_b1_t8 (t timestamp, i int)
sql insert into c_b1_t8 values(1520000020085, 85)
...
...
tests/script/unique/cluster/balance2.sim
浏览文件 @
942f67e2
...
...
@@ -26,14 +26,14 @@ system sh/cfg.sh -n dnode6 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode7 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode8 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode5 -c
clog
-v 1
system sh/cfg.sh -n dnode6 -c
clog
-v 1
system sh/cfg.sh -n dnode7 -c
clog
-v 1
system sh/cfg.sh -n dnode8 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
system sh/cfg.sh -n dnode5 -c
wallevel
-v 1
system sh/cfg.sh -n dnode6 -c
wallevel
-v 1
system sh/cfg.sh -n dnode7 -c
wallevel
-v 1
system sh/cfg.sh -n dnode8 -c
wallevel
-v 1
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
...
...
@@ -56,7 +56,7 @@ system sh/exec_up.sh -n dnode2 -s start
system sh/exec_up.sh -n dnode3 -s start
sleep 4001
sql create database c_b2_d1 replica 2
t
ables 4
sql create database c_b2_d1 replica 2
maxT
ables 4
sql use c_b2_d1
sql create table c_b2_t1 (t timestamp, i int)
sql insert into c_b2_t1 values(1520000020015, 15)
...
...
@@ -65,7 +65,7 @@ sql insert into c_b2_t1 values(1520000022013, 13)
sql insert into c_b2_t1 values(1520000023012, 12)
sql insert into c_b2_t1 values(1520000024011, 11)
sql create database c_b2_d2 replica 2
t
ables 4
sql create database c_b2_d2 replica 2
maxT
ables 4
sql use c_b2_d2
sql create table c_b2_t2 (t timestamp, i int)
sql insert into c_b2_t2 values(1520000020025, 25)
...
...
@@ -74,7 +74,7 @@ sql insert into c_b2_t2 values(1520000022023, 23)
sql insert into c_b2_t2 values(1520000023022, 22)
sql insert into c_b2_t2 values(1520000024021, 21)
sql create database c_b2_d3 replica 2
t
ables 4
sql create database c_b2_d3 replica 2
maxT
ables 4
sql use c_b2_d3
sql create table c_b2_t3 (t timestamp, i int)
sql insert into c_b2_t3 values(1520000020035, 35)
...
...
tests/script/unique/cluster/balance3.sim
浏览文件 @
942f67e2
...
...
@@ -36,14 +36,14 @@ system sh/cfg.sh -n dnode6 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode7 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode8 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode5 -c
clog
-v 1
system sh/cfg.sh -n dnode6 -c
clog
-v 1
system sh/cfg.sh -n dnode7 -c
clog
-v 1
system sh/cfg.sh -n dnode8 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
system sh/cfg.sh -n dnode5 -c
wallevel
-v 1
system sh/cfg.sh -n dnode6 -c
wallevel
-v 1
system sh/cfg.sh -n dnode7 -c
wallevel
-v 1
system sh/cfg.sh -n dnode8 -c
wallevel
-v 1
print ============== step1
print ========= start dnode1
...
...
@@ -340,6 +340,21 @@ sql drop dnode $hostname1
print drop dnode1 and sleep 9000
sleep 9000
sql show mnodes
$dnode1Role = $data2_1
$dnode4Role = $data2_4
$dnode5Role = $data2_5
print dnode1 ==> $dnode1Role
print dnode4 ==> $dnode4Role
print dnode5 ==> $dnode5Role
if $dnode1Role != offline then
return -1
endi
print ============================== step9.1
system sh/exec_up.sh -n dnode1 -s start
$x = 0
show9:
$x = $x + 1
...
...
tests/script/unique/column/replica3.sim
浏览文件 @
942f67e2
...
...
@@ -3,9 +3,9 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 3
system sh/cfg.sh -n dnode2 -c numofMpeers -v 3
system sh/cfg.sh -n dnode3 -c numofMpeers -v 3
...
...
tests/script/unique/db/delete.sim
浏览文件 @
942f67e2
...
...
@@ -6,9 +6,9 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode3 -c numOfMPeers -v 3
...
...
tests/script/unique/db/delete_part.sim
浏览文件 @
942f67e2
...
...
@@ -9,10 +9,10 @@ system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
@@ -29,10 +29,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
tables
-v 4
system sh/cfg.sh -n dnode2 -c
tables
-v 4
system sh/cfg.sh -n dnode3 -c
tables
-v 4
system sh/cfg.sh -n dnode4 -c
tables
-v 4
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 4
system sh/cfg.sh -n dnode2 -c
maxtablesPerVnode
-v 4
system sh/cfg.sh -n dnode3 -c
maxtablesPerVnode
-v 4
system sh/cfg.sh -n dnode4 -c
maxtablesPerVnode
-v 4
print ========= start dnodes
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/db/replica_add12.sim
浏览文件 @
942f67e2
...
...
@@ -5,10 +5,10 @@ system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
tests/script/unique/db/replica_add13.sim
浏览文件 @
942f67e2
...
...
@@ -5,10 +5,10 @@ system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
tests/script/unique/db/replica_add23.sim
浏览文件 @
942f67e2
...
...
@@ -5,10 +5,10 @@ system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
tests/script/unique/db/replica_part.sim
浏览文件 @
942f67e2
...
...
@@ -4,9 +4,9 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 2
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 2
system sh/cfg.sh -n dnode3 -c numOfMPeers -v 2
...
...
tests/script/unique/db/replica_reduce21.sim
浏览文件 @
942f67e2
...
...
@@ -4,9 +4,9 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode3 -c numOfMPeers -v 1
...
...
tests/script/unique/db/replica_reduce31.sim
浏览文件 @
942f67e2
...
...
@@ -4,9 +4,9 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode3 -c numOfMPeers -v 1
...
...
tests/script/unique/db/replica_reduce32.sim
浏览文件 @
942f67e2
...
...
@@ -4,9 +4,9 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode3 -c numOfMPeers -v 1
...
...
tests/script/unique/dnode/balance1.sim
浏览文件 @
942f67e2
...
...
@@ -15,22 +15,22 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
sql connect
sleep 3000
sql create database d1
t
ables 4
sql create database d1
maxT
ables 4
sql create table d1.t1 (t timestamp, i int)
sql insert into d1.t1 values(now+1s, 15)
sql insert into d1.t1 values(now+2s, 14)
...
...
@@ -68,7 +68,7 @@ if $data2_2 != 1 then
endi
print ========== step3
sql create database d2
t
ables 4
sql create database d2
maxT
ables 4
sql create table d2.t2 (t timestamp, i int)
sql insert into d2.t2 values(now+1s, 25)
sql insert into d2.t2 values(now+2s, 24)
...
...
@@ -139,7 +139,7 @@ if $data2_3 != 2 then
endi
print ========== step6
sql create database d3
t
ables 4
sql create database d3
maxT
ables 4
sql create table d3.t3 (t timestamp, i int)
sql insert into d3.t3 values(now+1s, 35)
sql insert into d3.t3 values(now+2s, 34)
...
...
@@ -193,7 +193,7 @@ if $data2_4 != 1 then
endi
print ========== step8
sql create database d4
t
ables 4
sql create database d4
maxT
ables 4
sql create table d4.t4 (t timestamp, i int)
sql insert into d4.t4 values(now+1s, 45)
sql insert into d4.t4 values(now+2s, 44)
...
...
tests/script/unique/dnode/balance2.sim
浏览文件 @
942f67e2
...
...
@@ -12,11 +12,11 @@ system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode5 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode5 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
system sh/cfg.sh -n dnode5 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -28,7 +28,7 @@ system sh/exec_up.sh -n dnode2 -s start
system sh/exec_up.sh -n dnode3 -s start
sleep 3000
sql create database d1 replica 2
t
ables 4
sql create database d1 replica 2
maxT
ables 4
sql create table d1.t1 (t timestamp, i int)
sql insert into d1.t1 values(now+1s, 15)
sql insert into d1.t1 values(now+2s, 14)
...
...
@@ -36,7 +36,7 @@ sql insert into d1.t1 values(now+3s, 13)
sql insert into d1.t1 values(now+4s, 12)
sql insert into d1.t1 values(now+5s, 11)
sql create database d2 replica 2
t
ables 4
sql create database d2 replica 2
maxT
ables 4
sql create table d2.t2 (t timestamp, i int)
sql insert into d2.t2 values(now+1s, 25)
sql insert into d2.t2 values(now+2s, 24)
...
...
@@ -116,7 +116,7 @@ if $data2_4 != 2 then
endi
print ========== step4
sql create database d3 replica 2
t
ables 4
sql create database d3 replica 2
maxT
ables 4
sql create table d3.t3 (t timestamp, i int)
sql insert into d3.t3 values(now+1s, 35)
sql insert into d3.t3 values(now+2s, 34)
...
...
tests/script/unique/dnode/balance3.sim
浏览文件 @
942f67e2
...
...
@@ -14,12 +14,12 @@ system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode5 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode6 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode5 -c
clog
-v 1
system sh/cfg.sh -n dnode6 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
system sh/cfg.sh -n dnode5 -c
wallevel
-v 1
system sh/cfg.sh -n dnode6 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -33,7 +33,7 @@ system sh/exec_up.sh -n dnode3 -s start
system sh/exec_up.sh -n dnode4 -s start
sleep 3000
sql create database d1 replica 3
t
ables 4
sql create database d1 replica 3
maxT
ables 4
sql create table d1.t1 (t timestamp, i int)
sql insert into d1.t1 values(now+1s, 15)
sql insert into d1.t1 values(now+2s, 14)
...
...
@@ -41,7 +41,7 @@ sql insert into d1.t1 values(now+3s, 13)
sql insert into d1.t1 values(now+4s, 12)
sql insert into d1.t1 values(now+5s, 11)
sql create database d2 replica 3
t
ables 4
sql create database d2 replica 3
maxT
ables 4
sql create table d2.t2 (t timestamp, i int)
sql insert into d2.t2 values(now+1s, 25)
sql insert into d2.t2 values(now+2s, 24)
...
...
@@ -136,7 +136,7 @@ if $data2_5 != 2 then
endi
print ========== step4
sql create database d3 replica 3
t
ables 4
sql create database d3 replica 3
maxT
ables 4
sql create table d3.t3 (t timestamp, i int)
sql insert into d3.t3 values(now+1s, 35)
sql insert into d3.t3 values(now+2s, 34)
...
...
tests/script/unique/dnode/balancex.sim
浏览文件 @
942f67e2
...
...
@@ -10,17 +10,17 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
sql connect
sleep 3000
sql create database d1
t
ables 4
sql create database d1
maxT
ables 4
sql create table d1.t1 (t timestamp, i int)
sql insert into d1.t1 values(now+1s, 15)
sql insert into d1.t1 values(now+2s, 14)
...
...
@@ -28,7 +28,7 @@ sql insert into d1.t1 values(now+3s, 13)
sql insert into d1.t1 values(now+4s, 12)
sql insert into d1.t1 values(now+5s, 11)
sql create database d2
t
ables 4
sql create database d2
maxT
ables 4
sql create table d2.t2 (t timestamp, i int)
sql insert into d2.t2 values(now+1s, 25)
sql insert into d2.t2 values(now+2s, 24)
...
...
@@ -65,7 +65,7 @@ if $data2_2 != 2 then
endi
print ========== step3
sql create database d3 replica 2
t
ables 4
sql create database d3 replica 2
maxT
ables 4
sql create table d3.t3 (t timestamp, i int)
sql insert into d3.t3 values(now+1s, 35)
sql insert into d3.t3 values(now+2s, 34)
...
...
tests/script/unique/dnode/monitor_bug.sim
浏览文件 @
942f67e2
...
...
@@ -6,8 +6,8 @@ system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode1 -c monitor -v 1
system sh/cfg.sh -n dnode2 -c monitor -v 0
...
...
tests/script/unique/dnode/offline1.sim
浏览文件 @
942f67e2
...
...
@@ -16,9 +16,9 @@ system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/dnode/offline2.sim
浏览文件 @
942f67e2
...
...
@@ -16,9 +16,9 @@ system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -27,7 +27,7 @@ sql create dnode $hostname2
system sh/exec_up.sh -n dnode2 -s start
sleep 3000
sql create database d1 replica 2
t
ables 4
sql create database d1 replica 2
maxT
ables 4
sql create table d1.t1(ts timestamp, i int)
sql insert into d1.t1 values(now, 1)
...
...
tests/script/unique/dnode/remove1.sim
浏览文件 @
942f67e2
...
...
@@ -10,17 +10,17 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
sql connect
sleep 3000
sql create database d1
t
ables 4
sql create database d1
maxT
ables 4
sql create table d1.t1 (t timestamp, i int)
sql insert into d1.t1 values(now+1s, 15)
sql insert into d1.t1 values(now+2s, 14)
...
...
@@ -28,7 +28,7 @@ sql insert into d1.t1 values(now+3s, 13)
sql insert into d1.t1 values(now+4s, 12)
sql insert into d1.t1 values(now+5s, 11)
sql create database d2
t
ables 4
sql create database d2
maxT
ables 4
sql create table d2.t2 (t timestamp, i int)
sql insert into d2.t2 values(now+1s, 25)
sql insert into d2.t2 values(now+2s, 24)
...
...
@@ -47,7 +47,7 @@ sql create dnode $hostname2
system sh/exec_up.sh -n dnode2 -s start
sleep 9000
sql create database d3 replica 2
t
ables 4
sql create database d3 replica 2
maxT
ables 4
sql create table d3.t3 (t timestamp, i int)
sql insert into d3.t3 values(now+1s, 35)
sql insert into d3.t3 values(now+2s, 34)
...
...
tests/script/unique/dnode/remove2.sim
浏览文件 @
942f67e2
...
...
@@ -10,17 +10,17 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
sql connect
sleep 3000
sql create database d1
t
ables 4
sql create database d1
maxT
ables 4
sql create table d1.t1 (t timestamp, i int)
sql insert into d1.t1 values(now+1s, 15)
sql insert into d1.t1 values(now+2s, 14)
...
...
@@ -28,7 +28,7 @@ sql insert into d1.t1 values(now+3s, 13)
sql insert into d1.t1 values(now+4s, 12)
sql insert into d1.t1 values(now+5s, 11)
sql create database d2
t
ables 4
sql create database d2
maxT
ables 4
sql create table d2.t2 (t timestamp, i int)
sql insert into d2.t2 values(now+1s, 25)
sql insert into d2.t2 values(now+2s, 24)
...
...
@@ -47,7 +47,7 @@ sql create dnode $hostname2
system sh/exec_up.sh -n dnode2 -s start
sleep 9000
sql create database d3 replica 2
t
ables 4
sql create database d3 replica 2
maxT
ables 4
sql create table d3.t3 (t timestamp, i int)
sql insert into d3.t3 values(now+1s, 35)
sql insert into d3.t3 values(now+2s, 34)
...
...
tests/script/unique/dnode/vnode_clean.sim
浏览文件 @
942f67e2
...
...
@@ -10,16 +10,16 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
sql connect
sql create database d1
t
ables 4
sql create database d1
maxT
ables 4
sql create table d1.t1 (t timestamp, i int)
sql insert into d1.t1 values(now+1s, 15)
sql insert into d1.t1 values(now+2s, 14)
...
...
@@ -55,7 +55,7 @@ if $data2_2 != 3 then
endi
print ========== step3
sql create database d2
t
ables 4
sql create database d2
maxT
ables 4
sql create table d2.t2 (t timestamp, i int)
sql insert into d2.t2 values(now+1s, 25)
...
...
@@ -107,7 +107,7 @@ system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c balanceInterval -v 10
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/exec_up.sh -n dnode2 -s start
$x = 0
...
...
@@ -128,7 +128,7 @@ if $data2_2 != 2 then
endi
print ========== step6
sql create database d3
t
ables 4
sql create database d3
maxT
ables 4
sql create table d3.t3 (t timestamp, i int)
sql insert into d3.t3 values(now+1s, 35)
sql insert into d3.t3 values(now+2s, 34)
...
...
tests/script/unique/http/admin.sim
浏览文件 @
942f67e2
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c http -v 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
#system sh/cfg.sh -n dnode1 -c adminRowLimit -v 10
system sh/cfg.sh -n dnode1 -c httpDebugFlag -v 135
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/http/opentsdb.sim
浏览文件 @
942f67e2
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
wallevel
-v 0
system sh/exec_up.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/unique/metrics/balance_replica1.sim
浏览文件 @
942f67e2
...
...
@@ -34,7 +34,7 @@ $db = $dbPrefix
$mt = $mtPrefix
$st = $stPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int, tbcol2 float) TAGS(tgcol int)
...
...
tests/script/unique/metrics/dnode2.sim
浏览文件 @
942f67e2
...
...
@@ -43,7 +43,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/unique/metrics/dnode2_stop.sim
浏览文件 @
942f67e2
...
...
@@ -48,7 +48,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/unique/metrics/dnode3.sim
浏览文件 @
942f67e2
...
...
@@ -54,7 +54,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/unique/metrics/replica2_dnode4.sim
浏览文件 @
942f67e2
...
...
@@ -63,7 +63,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db replica 2
t
ables 4
sql create database $db replica 2
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/unique/metrics/replica2_vnode3.sim
浏览文件 @
942f67e2
...
...
@@ -42,7 +42,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db replica 2
t
ables 4
sql create database $db replica 2
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/unique/metrics/replica3_dnode6.sim
浏览文件 @
942f67e2
...
...
@@ -93,7 +93,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db replica 3
t
ables 4
sql create database $db replica 3
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/unique/metrics/replica3_vnode3.sim
浏览文件 @
942f67e2
...
...
@@ -62,7 +62,7 @@ $i = 0
$db = $dbPrefix . $i
$mt = $mtPrefix . $i
sql create database $db replica 3
t
ables 4
sql create database $db replica 3
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol int)
...
...
tests/script/unique/stream/metrics_balance.sim
浏览文件 @
942f67e2
...
...
@@ -36,7 +36,7 @@ sql connect
print ============== step1
$db = $dbPrefix
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
$i = 0
...
...
tests/script/unique/stream/table_balance.sim
浏览文件 @
942f67e2
...
...
@@ -38,7 +38,7 @@ $db = $dbPrefix
$mt = $mtPrefix
$st = $stPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int, tbcol2 float) TAGS(tgcol int)
...
...
tests/script/unique/stream/table_move.sim
浏览文件 @
942f67e2
...
...
@@ -25,10 +25,10 @@ system sh/cfg.sh -n dnode2 -c balanceInterval -v 10
system sh/cfg.sh -n dnode3 -c balanceInterval -v 10
system sh/cfg.sh -n dnode4 -c balanceInterval -v 10
system sh/cfg.sh -n dnode1 -c
clog
-v 1
system sh/cfg.sh -n dnode2 -c
clog
-v 1
system sh/cfg.sh -n dnode3 -c
clog
-v 1
system sh/cfg.sh -n dnode4 -c
clog
-v 1
system sh/cfg.sh -n dnode1 -c
wallevel
-v 1
system sh/cfg.sh -n dnode2 -c
wallevel
-v 1
system sh/cfg.sh -n dnode3 -c
wallevel
-v 1
system sh/cfg.sh -n dnode4 -c
wallevel
-v 1
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
...
...
@@ -75,7 +75,7 @@ $db = $dbPrefix . $i
$mt = $mtPrefix . $i
$st = $stPrefix . $i
sql create database $db
t
ables 4
sql create database $db
maxT
ables 4
sql use $db
sql create table $mt (ts timestamp, tbcol int, tbcol2 float) TAGS(tgcol int)
...
...
tests/script/unique/vnode/commit.sim
浏览文件 @
942f67e2
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 3
system sh/cfg.sh -n dnode2 -c numofMpeers -v 3
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/vnode/many.sim
浏览文件 @
942f67e2
...
...
@@ -4,10 +4,10 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 1
system sh/cfg.sh -n dnode2 -c numofMpeers -v 1
system sh/cfg.sh -n dnode3 -c numofMpeers -v 1
...
...
tests/script/unique/vnode/replica2_basic.sim
浏览文件 @
942f67e2
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 3
system sh/cfg.sh -n dnode2 -c numofMpeers -v 3
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/vnode/replica2_basic2.sim
浏览文件 @
942f67e2
...
...
@@ -5,10 +5,10 @@ system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
tests/script/unique/vnode/replica2_repeat.sim
浏览文件 @
942f67e2
...
...
@@ -4,10 +4,10 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 1
system sh/cfg.sh -n dnode2 -c numofMpeers -v 1
system sh/cfg.sh -n dnode3 -c numofMpeers -v 1
...
...
tests/script/unique/vnode/replica3_basic.sim
浏览文件 @
942f67e2
...
...
@@ -3,9 +3,9 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 3
system sh/cfg.sh -n dnode2 -c numofMpeers -v 3
system sh/cfg.sh -n dnode3 -c numofMpeers -v 3
...
...
tests/script/unique/vnode/replica3_repeat.sim
浏览文件 @
942f67e2
...
...
@@ -4,10 +4,10 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode4 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode4 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 1
system sh/cfg.sh -n dnode2 -c numofMpeers -v 1
system sh/cfg.sh -n dnode3 -c numofMpeers -v 1
...
...
tests/script/unique/vnode/replica3_vgroup.sim
浏览文件 @
942f67e2
...
...
@@ -3,9 +3,9 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c
clog
-v 2
system sh/cfg.sh -n dnode2 -c
clog
-v 2
system sh/cfg.sh -n dnode3 -c
clog
-v 2
system sh/cfg.sh -n dnode1 -c
wallevel
-v 2
system sh/cfg.sh -n dnode2 -c
wallevel
-v 2
system sh/cfg.sh -n dnode3 -c
wallevel
-v 2
system sh/cfg.sh -n dnode1 -c numofMpeers -v 3
system sh/cfg.sh -n dnode2 -c numofMpeers -v 3
system sh/cfg.sh -n dnode3 -c numofMpeers -v 3
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录