Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
3d6e32dd
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看板
提交
3d6e32dd
编写于
5月 15, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scripts
上级
ac5d7536
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
34 addition
and
35 deletion
+34
-35
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+6
-6
tests/script/unique/cluster/balance1.sim
tests/script/unique/cluster/balance1.sim
+4
-4
tests/script/unique/cluster/balance2.sim
tests/script/unique/cluster/balance2.sim
+6
-6
tests/script/unique/cluster/balance3.sim
tests/script/unique/cluster/balance3.sim
+4
-4
tests/script/unique/cluster/cache.sim
tests/script/unique/cluster/cache.sim
+14
-15
未找到文件。
tests/script/jenkins/basic.txt
浏览文件 @
3d6e32dd
...
...
@@ -241,14 +241,14 @@ cd ../../../debug; make
./test.sh -u -f unique/account/user_create.sim
./test.sh -u -f unique/account/user_len.sim
#./test.sh -u -f unique/big/balance.sim
#
slguan
./test.sh -u -f unique/big/maxvnodes.sim
#
liao wait
./test.sh -u -f unique/big/balance.sim
#
liao wait
./test.sh -u -f unique/big/maxvnodes.sim
./test.sh -u -f unique/big/tcp.sim
#jeff
./test.sh -u -f unique/cluster/balance1.sim
#jeff
./test.sh -u -f unique/cluster/balance2.sim
#jeff
./test.sh -u -f unique/cluster/balance3.sim
#
./test.sh -u -f unique/cluster/cache.sim
./test.sh -u -f unique/cluster/balance1.sim
./test.sh -u -f unique/cluster/balance2.sim
./test.sh -u -f unique/cluster/balance3.sim
./test.sh -u -f unique/cluster/cache.sim
./test.sh -u -f unique/column/replica3.sim
...
...
tests/script/unique/cluster/balance1.sim
浏览文件 @
3d6e32dd
...
...
@@ -77,7 +77,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 2 then
return -1
endi
if $dnode2Vnodes !=
NULL
then
if $dnode2Vnodes !=
null
then
return -1
endi
...
...
@@ -146,7 +146,7 @@ print dnode2 $dnode2Vnodes
if $dnode1Vnodes != 3 then
goto show4
endi
if $dnode2Vnodes !=
NULL
then
if $dnode2Vnodes !=
null
then
goto show4
endi
...
...
@@ -229,7 +229,7 @@ print dnode3 $dnode3Vnodes
if $dnode1Vnodes != 3 then
goto show8
endi
if $dnode3Vnodes !=
NULL
then
if $dnode3Vnodes !=
null
then
goto show8
endi
...
...
@@ -245,7 +245,7 @@ if $dnode1Role != master then
return -1
endi
if $dnode3Role !=
NULL
then
if $dnode3Role !=
null
then
return -1
endi
...
...
tests/script/unique/cluster/balance2.sim
浏览文件 @
3d6e32dd
...
...
@@ -131,7 +131,7 @@ print dnode3 $dnode3Vnodes
if $dnode1Vnodes != 3 then
goto show2
endi
if $dnode2Vnodes !=
NULL
then
if $dnode2Vnodes !=
null
then
goto show2
endi
if $dnode3Vnodes != 3 then
...
...
@@ -194,7 +194,7 @@ print dnode4 ==> $dnode4Role
if $dnode1Role != master then
return -1
endi
if $dnode2Role !=
NULL
then
if $dnode2Role !=
null
then
return -1
endi
if $dnode3Role != slave then
...
...
@@ -231,7 +231,7 @@ endi
if $dnode4Vnodes != 3 then
goto show4
endi
if $dnode3Vnodes !=
NULL
then
if $dnode3Vnodes !=
null
then
goto show4
endi
...
...
@@ -248,10 +248,10 @@ print dnode4 ==> $dnode4Role
if $dnode1Role != master then
return -1
endi
if $dnode2Role !=
NULL
then
if $dnode2Role !=
null
then
return -1
endi
if $dnode3Role !=
NULL
then
if $dnode3Role !=
null
then
return -1
endi
...
...
@@ -339,7 +339,7 @@ print dnode4 $dnode4Vnodes
$dnode5Vnodes = $data2_5
print dnode5 $dnode5Vnodes
if $dnode1Vnodes !=
NULL
then
if $dnode1Vnodes !=
null
then
goto show6
endi
if $dnode4Vnodes != 3 then
...
...
tests/script/unique/cluster/balance3.sim
浏览文件 @
3d6e32dd
...
...
@@ -110,7 +110,7 @@ endi
if $dnode3Vnodes != 3 then
goto show1
endi
if $dnode4Vnodes !=
NULL
then
if $dnode4Vnodes !=
null
then
goto show1
endi
...
...
@@ -166,7 +166,7 @@ print dnode4 $dnode4Vnodes
if $dnode1Vnodes != 3 then
goto show3
endi
if $dnode2Vnodes !=
NULL
then
if $dnode2Vnodes !=
null
then
goto show3
endi
if $dnode3Vnodes != 3 then
...
...
@@ -232,7 +232,7 @@ endi
if $dnode5Vnodes != 3 then
goto show5
endi
if $dnode3Vnodes !=
NULL
then
if $dnode3Vnodes !=
null
then
goto show5
endi
if $dnode4Vnodes != 3 then
...
...
@@ -298,7 +298,7 @@ endi
if $dnode6Vnodes != 3 then
goto show7
endi
if $dnode4Vnodes !=
NULL
then
if $dnode4Vnodes !=
null
then
goto show7
endi
...
...
tests/script/unique/cluster/cache.sim
浏览文件 @
3d6e32dd
...
...
@@ -4,26 +4,18 @@ 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 walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
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 httpMaxThreads -v 2
system sh/cfg.sh -n dnode2 -c httpMaxThreads -v 2
system sh/cfg.sh -n dnode1 -c monitor -v 1
system sh/cfg.sh -n dnode2 -c http -v 1
system sh/cfg.sh -n dnode1 -c monitor -v 2
system sh/cfg.sh -n dnode2 -c http -v 1
system sh/cfg.sh -n dnode1 -c enableHttp -v 1
system sh/cfg.sh -n dnode2 -c monitor -v 1
system sh/cfg.sh -n dnode1 -c monitorInterval -v 1
system sh/cfg.sh -n dnode2 -c monitorInterval -v 1
system sh/cfg.sh -n dnode1 -c maxVnodeConnections -v 30000
system sh/cfg.sh -n dnode2 -c maxVnodeConnections -v 30000
system sh/cfg.sh -n dnode1 -c maxMgmtConnections -v 30000
system sh/cfg.sh -n dnode2 -c maxMgmtConnections -v 30000
system sh/cfg.sh -n dnode1 -c maxMeterConnections -v 30000
system sh/cfg.sh -n dnode2 -c maxMeterConnections -v 30000
system sh/cfg.sh -n dnode1 -c maxShellConns -v 30000
system sh/cfg.sh -n dnode2 -c maxShellConns -v 30000
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
...
...
@@ -45,13 +37,20 @@ sleep 3000
system sh/exec.sh -n dnode2 -s start
sql create dnode $hostname2
sleep 20000
sql select * from log.dn_192_168_0_1
sleep 10000
sql show log.tables;
if $rows != 5 then
return -1
endi
sql select * from log.dn1
print ===>rows $rows
print $data00 $data01 $data02
print $data10 $data11 $data12
print $data20 $data21 $data22
if $rows <
2
0 then
if $rows <
1
0 then
return -1
endi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录