Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
23fa9c32
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看板
提交
23fa9c32
编写于
5月 07, 2020
作者:
S
slguan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scripts
上级
a00a70e8
变更
50
隐藏空白更改
内联
并排
Showing
50 changed file
with
146 addition
and
125 deletion
+146
-125
tests/script/general/db/len.sim
tests/script/general/db/len.sim
+1
-1
tests/script/general/db/tables.sim
tests/script/general/db/tables.sim
+26
-11
tests/script/general/db/testSuite.sim
tests/script/general/db/testSuite.sim
+4
-6
tests/script/general/import/basic.sim
tests/script/general/import/basic.sim
+4
-4
tests/script/general/import/commit.sim
tests/script/general/import/commit.sim
+4
-4
tests/script/general/import/large.sim
tests/script/general/import/large.sim
+4
-4
tests/script/general/import/replica1.sim
tests/script/general/import/replica1.sim
+4
-4
tests/script/general/insert/insert_drop.sim
tests/script/general/insert/insert_drop.sim
+1
-1
tests/script/general/metrics/disk.sim
tests/script/general/metrics/disk.sim
+1
-1
tests/script/general/metrics/metrics.sim
tests/script/general/metrics/metrics.sim
+1
-1
tests/script/general/metrics/values.sim
tests/script/general/metrics/values.sim
+1
-1
tests/script/general/metrics/vnode3.sim
tests/script/general/metrics/vnode3.sim
+1
-1
tests/script/general/parser/auto_create_tb.sim
tests/script/general/parser/auto_create_tb.sim
+1
-1
tests/script/general/parser/create_db.sim
tests/script/general/parser/create_db.sim
+1
-1
tests/script/general/parser/select_across_vnodes.sim
tests/script/general/parser/select_across_vnodes.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/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/stream/metrics_replica1_vnoden.sim
tests/script/general/stream/metrics_replica1_vnoden.sim
+1
-1
tests/script/general/stream/table_replica1_vnoden.sim
tests/script/general/stream/table_replica1_vnoden.sim
+1
-1
tests/script/general/table/limit.sim
tests/script/general/table/limit.sim
+2
-2
tests/script/general/user/monitor.sim
tests/script/general/user/monitor.sim
+1
-1
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+8
-0
tests/script/unique/big/maxvnodes.sim
tests/script/unique/big/maxvnodes.sim
+4
-4
tests/script/unique/big/tcp.sim
tests/script/unique/big/tcp.sim
+1
-1
tests/script/unique/db/delete.sim
tests/script/unique/db/delete.sim
+1
-1
tests/script/unique/import/replica2.sim
tests/script/unique/import/replica2.sim
+4
-4
tests/script/unique/import/replica3.sim
tests/script/unique/import/replica3.sim
+4
-4
tests/script/unique/metrics/balance_replica1.sim
tests/script/unique/metrics/balance_replica1.sim
+2
-2
tests/script/unique/metrics/dnode2.sim
tests/script/unique/metrics/dnode2.sim
+2
-2
tests/script/unique/metrics/dnode2_stop.sim
tests/script/unique/metrics/dnode2_stop.sim
+2
-2
tests/script/unique/metrics/dnode3.sim
tests/script/unique/metrics/dnode3.sim
+3
-3
tests/script/unique/metrics/replica2_dnode4.sim
tests/script/unique/metrics/replica2_dnode4.sim
+4
-4
tests/script/unique/metrics/replica2_vnode3.sim
tests/script/unique/metrics/replica2_vnode3.sim
+2
-2
tests/script/unique/metrics/replica3_dnode6.sim
tests/script/unique/metrics/replica3_dnode6.sim
+6
-6
tests/script/unique/metrics/replica3_vnode3.sim
tests/script/unique/metrics/replica3_vnode3.sim
+4
-4
tests/script/unique/stream/metrics_balance.sim
tests/script/unique/stream/metrics_balance.sim
+2
-2
tests/script/unique/stream/metrics_replica1_dnode2.sim
tests/script/unique/stream/metrics_replica1_dnode2.sim
+2
-2
tests/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
...s/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
+2
-2
tests/script/unique/stream/metrics_replica2_dnode3.sim
tests/script/unique/stream/metrics_replica2_dnode3.sim
+3
-3
tests/script/unique/stream/metrics_replica3_dnode4.sim
tests/script/unique/stream/metrics_replica3_dnode4.sim
+4
-4
tests/script/unique/stream/table_balance.sim
tests/script/unique/stream/table_balance.sim
+2
-2
tests/script/unique/stream/table_move.sim
tests/script/unique/stream/table_move.sim
+4
-4
tests/script/unique/stream/table_replica1_dnode2.sim
tests/script/unique/stream/table_replica1_dnode2.sim
+2
-2
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
+2
-2
tests/script/unique/stream/table_replica2_dnode3.sim
tests/script/unique/stream/table_replica2_dnode3.sim
+3
-3
tests/script/unique/stream/table_replica3_dnode4.sim
tests/script/unique/stream/table_replica3_dnode4.sim
+4
-4
tests/script/unique/table/delete_part.sim
tests/script/unique/table/delete_part.sim
+4
-4
tests/script/unique/vnode/replica3_vgroup.sim
tests/script/unique/vnode/replica3_vgroup.sim
+1
-1
未找到文件。
tests/script/general/db/len.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
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
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/db/tables.sim
浏览文件 @
23fa9c32
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
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
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
print =============== step2
sql create database db
tables 2
sql create database db
maxtables 4
sql show databases
print $rows $data07
...
...
@@ -19,7 +18,7 @@ if $rows != 1 then
return -1
endi
if $data07 !=
2
then
if $data07 !=
4
then
return -1
endi
...
...
@@ -30,9 +29,17 @@ sql create table t2 (ts timestamp, i int)
sql create table t3 (ts timestamp, i int)
sql create table t4 (ts timestamp, i int)
sql create table t11 (ts timestamp, i int)
sql create table t12 (ts timestamp, i int)
sql create table t13 (ts timestamp, i int)
sql create table t14 (ts timestamp, i int)
sql create table t21 (ts timestamp, i int)
sql create table t22 (ts timestamp, i int)
sql create table t23 (ts timestamp, i int)
sql create table t24 (ts timestamp, i int)
sql create table t31 (ts timestamp, i int)
sql create table t32 (ts timestamp, i int)
sql create table t33 (ts timestamp, i int)
sql create table t
4
4 (ts timestamp, i int)
sql create table t
3
4 (ts timestamp, i int)
print =============== step4
sql insert into t1 values(now, 1)
...
...
@@ -42,7 +49,7 @@ sql insert into t4 values(now, 4)
sql insert into t11 values(now, 1)
sql insert into t22 values(now, 2)
sql insert into t33 values(now, 3)
sql insert into t
4
4 values(now, 4)
sql insert into t
3
4 values(now, 4)
print =============== step5
sql select * from t1
...
...
@@ -68,10 +75,10 @@ endi
print =============== step6
sql drop database db
sql reset query cache
sleep
20
000
sleep
4
000
print =============== step7
sql create database db
tables 2
sql create database db
maxtables 4
sql show databases
print $rows $data07
...
...
@@ -79,7 +86,7 @@ if $rows != 1 then
return -1
endi
if $data07 !=
2
then
if $data07 !=
4
then
return -1
endi
...
...
@@ -90,9 +97,17 @@ sql create table t2 (ts timestamp, i int)
sql create table t3 (ts timestamp, i int)
sql create table t4 (ts timestamp, i int)
sql create table t11 (ts timestamp, i int)
sql create table t12 (ts timestamp, i int)
sql create table t13 (ts timestamp, i int)
sql create table t14 (ts timestamp, i int)
sql create table t21 (ts timestamp, i int)
sql create table t22 (ts timestamp, i int)
sql create table t23 (ts timestamp, i int)
sql create table t24 (ts timestamp, i int)
sql create table t31 (ts timestamp, i int)
sql create table t32 (ts timestamp, i int)
sql create table t33 (ts timestamp, i int)
sql create table t
4
4 (ts timestamp, i int)
sql create table t
3
4 (ts timestamp, i int)
print =============== step9
sql insert into t1 values(now, 1)
...
...
@@ -102,7 +117,7 @@ sql insert into t4 values(now, 4)
sql insert into t11 values(now, 1)
sql insert into t22 values(now, 2)
sql insert into t33 values(now, 3)
sql insert into t
4
4 values(now, 4)
sql insert into t
3
4 values(now, 4)
print =============== step10
sql select * from t1
...
...
tests/script/general/db/testSuite.sim
浏览文件 @
23fa9c32
#
run general//db/basic.sim
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/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
run general/db/len.sim
run general/db/repeat.sim
run general/db/tables.sim
tests/script/general/import/basic.sim
浏览文件 @
23fa9c32
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/import/commit.sim
浏览文件 @
23fa9c32
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/import/large.sim
浏览文件 @
23fa9c32
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/import/replica1.sim
浏览文件 @
23fa9c32
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/insert/insert_drop.sim
浏览文件 @
23fa9c32
...
...
@@ -19,7 +19,7 @@ $stb = stb
sql drop database $db -x step1
step1:
sql create database $db tables 10 ctime 30
sql create database $db
max
tables 10 ctime 30
print ====== create tables
sql use $db
sql create table $stb (ts timestamp, c1 int) tags(t1 int)
...
...
tests/script/general/metrics/disk.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
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
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/metrics/metrics.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
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
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/metrics/values.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
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
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/metrics/vnode3.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
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
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/auto_create_tb.sim
浏览文件 @
23fa9c32
...
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/create_db.sim
浏览文件 @
23fa9c32
...
...
@@ -163,7 +163,7 @@ sql_error create database $db rows 199
sql_error create database $db cache 99
#sql_error create database $db cache 10485761
# ablocks [overwriten by 4*
session
sPerVnode, 409600]
# ablocks [overwriten by 4*
maxtable
sPerVnode, 409600]
sql_error create database $db ablocks -1
#sql_error create database $db ablocks 409601
...
...
tests/script/general/parser/select_across_vnodes.sim
浏览文件 @
23fa9c32
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 5
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 5
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/select_from_cache_disk.sim
浏览文件 @
23fa9c32
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/slimit.sim
浏览文件 @
23fa9c32
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/slimit1.sim
浏览文件 @
23fa9c32
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/slimit_alter_tags.sim
浏览文件 @
23fa9c32
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/stream/metrics_replica1_vnoden.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/stream/table_replica1_vnoden.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/table/limit.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 129
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 129
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
@@ -19,7 +19,7 @@ $db = $dbPrefix . $i
$tb = $tbPrefix . $i
print =================== step 0
sql create database $db tables 129
sql create database $db
max
tables 129
sql use $db
sql show vgroups
if $rows != 0 then
...
...
tests/script/general/user/monitor.sim
浏览文件 @
23fa9c32
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
print ========== step1
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 monitor -v 1
system sh/cfg.sh -n dnode1 -c monitorInterval -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/jenkins/basic.txt
浏览文件 @
23fa9c32
...
...
@@ -9,11 +9,19 @@ cd ../../../debug; make
#general
./test.sh -f general/db/basic.sim
./test.sh -f general/db/basic1.sim
./test.sh -f general/db/basic2.sim
./test.sh -f general/db/basic3.sim
./test.sh -f general/db/basic4.sim
./test.sh -f general/db/basic5.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
./test.sh -f general/db/len.sim
./test.sh -f general/db/repeat.sim
./test.sh -f general/db/tables.sim
./test.sh -f general/table/autocreate.sim
./test.sh -f general/table/basic1.sim
...
...
tests/script/unique/big/maxvnodes.sim
浏览文件 @
23fa9c32
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
tables
-v 100
system sh/cfg.sh -n dnode1 -c
walLevel
-v 0
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 100
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode1 -c maxVnodeConnections -v 100000
system sh/cfg.sh -n dnode1 -c maxMeterConnections -v 100000
...
...
@@ -39,8 +39,8 @@ endi
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c
clog
-v 0
system sh/cfg.sh -n dnode2 -c
tables
-v 100
system sh/cfg.sh -n dnode2 -c
walLevel
-v 0
system sh/cfg.sh -n dnode2 -c
maxtablesPerVnode
-v 100
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode2 -c maxVnodeConnections -v 100000
system sh/cfg.sh -n dnode2 -c maxMeterConnections -v 100000
...
...
tests/script/unique/big/tcp.sim
浏览文件 @
23fa9c32
...
...
@@ -2,7 +2,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c
tables
-v 30000
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 30000
system sh/cfg.sh -n dnode1 -c dDebugFlag -v 131
system sh/cfg.sh -n dnode1 -c mDebugFlag -v 131
...
...
tests/script/unique/db/delete.sim
浏览文件 @
23fa9c32
...
...
@@ -29,7 +29,7 @@ system sh/exec_up.sh -n dnode3 -s start
sleep 3000
print ======== step1
sql create database db replica 3 ablocks 2 tblocks 5 tables 10000
sql create database db replica 3 ablocks 2 tblocks 5
max
tables 10000
sql create table db.mt (ts timestamp, tbcol int) TAGS(tgcol int)
$tbPrefix = db.t
...
...
tests/script/unique/import/replica2.sim
浏览文件 @
23fa9c32
...
...
@@ -15,10 +15,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/unique/import/replica3.sim
浏览文件 @
23fa9c32
...
...
@@ -15,10 +15,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/unique/metrics/balance_replica1.sim
浏览文件 @
23fa9c32
...
...
@@ -14,8 +14,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
$dbPrefix = br1_db
$tbPrefix = br1_tb
...
...
tests/script/unique/metrics/dnode2.sim
浏览文件 @
23fa9c32
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/dnode2_stop.sim
浏览文件 @
23fa9c32
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/dnode3.sim
浏览文件 @
23fa9c32
...
...
@@ -12,9 +12,9 @@ system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
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 dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica2_dnode4.sim
浏览文件 @
23fa9c32
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
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
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica2_vnode3.sim
浏览文件 @
23fa9c32
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica3_dnode6.sim
浏览文件 @
23fa9c32
...
...
@@ -28,12 +28,12 @@ system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode5 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode6 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode5 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode6 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode5 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode6 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica3_vnode3.sim
浏览文件 @
23fa9c32
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
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
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_balance.sim
浏览文件 @
23fa9c32
...
...
@@ -14,8 +14,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 5
system sh/cfg.sh -n dnode2 -c meterMetaKeepTimer -v 5
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 5
...
...
tests/script/unique/stream/metrics_replica1_dnode2.sim
浏览文件 @
23fa9c32
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
浏览文件 @
23fa9c32
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_replica2_dnode3.sim
浏览文件 @
23fa9c32
...
...
@@ -12,9 +12,9 @@ system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_replica3_dnode4.sim
浏览文件 @
23fa9c32
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/table_balance.sim
浏览文件 @
23fa9c32
...
...
@@ -14,8 +14,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 2
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 2
...
...
tests/script/unique/stream/table_move.sim
浏览文件 @
23fa9c32
...
...
@@ -35,10 +35,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 3
...
...
tests/script/unique/stream/table_replica1_dnode2.sim
浏览文件 @
23fa9c32
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
浏览文件 @
23fa9c32
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/table_replica2_dnode3.sim
浏览文件 @
23fa9c32
...
...
@@ -12,9 +12,9 @@ system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/unique/stream/table_replica3_dnode4.sim
浏览文件 @
23fa9c32
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/table/delete_part.sim
浏览文件 @
23fa9c32
...
...
@@ -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
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/unique/vnode/replica3_vgroup.sim
浏览文件 @
23fa9c32
...
...
@@ -26,7 +26,7 @@ sleep 3000
print =================== step 1
sql create database $db replica 3 tables 100
sql create database $db replica 3
max
tables 100
sql use $db
sql create table st (ts timestamp, speed int) tags (t1 int)
sleep 3001
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录