Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
3605a345
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3605a345
编写于
11月 01, 2022
作者:
haoranc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test:add replica 3 for cluster test case
上级
8ba93cf9
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
82 addition
and
56 deletion
+82
-56
tests/system-test/6-cluster/5dnode3mnodeAdd1Ddnoe.py
tests/system-test/6-cluster/5dnode3mnodeAdd1Ddnoe.py
+5
-3
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertData.py
...stem-test/6-cluster/5dnode3mnodeRestartDnodeInsertData.py
+13
-9
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
...test/6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
+3
-1
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
...-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
+3
-2
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
...test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
+3
-2
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
...-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
+5
-3
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
...test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
+3
-2
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
...-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
+3
-1
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
...test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
+8
-7
tests/system-test/6-cluster/clusterCommonCheck.py
tests/system-test/6-cluster/clusterCommonCheck.py
+13
-10
tests/system-test/fulltest.sh
tests/system-test/fulltest.sh
+23
-16
未找到文件。
tests/system-test/6-cluster/5dnode3mnodeAdd1Ddnoe.py
浏览文件 @
3605a345
...
...
@@ -31,6 +31,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
...
...
@@ -118,6 +119,7 @@ class TDTestCase:
rowsPerStb
=
paraDict
[
"ctbNum"
]
*
paraDict
[
"rowsPerTbl"
]
rowsall
=
rowsPerStb
*
paraDict
[
'stbNumbers'
]
dbNumbers
=
1
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
...
...
@@ -167,8 +169,8 @@ class TDTestCase:
threads
.
append
(
threading
.
Thread
(
target
=
clusterComCreate
.
insert_data
,
args
=
(
newTdSql
,
paraDict
[
"dbName"
],
stableName
,
paraDict
[
"ctbNum"
],
paraDict
[
"rowsPerTbl"
],
paraDict
[
"batchNum"
],
paraDict
[
"startTs"
])))
for
tr
in
threads
:
tr
.
start
()
dnode
6Port
=
int
(
6030
+
5
*
100
)
tdSql
.
execute
(
"create dnode '%s:%d'"
%
(
hostname
,
dnode
6
Port
))
dnode
7Port
=
int
(
6030
+
6
*
100
)
tdSql
.
execute
(
"create dnode '%s:%d'"
%
(
hostname
,
dnode
7
Port
))
clusterComCheck
.
checkDnodes
(
dnodeNumbers
)
for
tr
in
threads
:
tr
.
join
()
...
...
@@ -219,7 +221,7 @@ class TDTestCase:
tdSql
.
checkRows
(
rowsPerStb
)
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'dnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'dnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertData.py
浏览文件 @
3605a345
...
...
@@ -31,6 +31,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
...
...
@@ -118,6 +119,7 @@ class TDTestCase:
rowsPerStb
=
paraDict
[
"ctbNum"
]
*
paraDict
[
"rowsPerTbl"
]
rowsall
=
rowsPerStb
*
paraDict
[
'stbNumbers'
]
dbNumbers
=
1
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
...
...
@@ -157,7 +159,7 @@ class TDTestCase:
stableName
=
'%s_%d'
%
(
paraDict
[
'stbName'
],
i
)
newTdSql
=
tdCom
.
newTdSql
()
clusterComCreate
.
create_ctable
(
newTdSql
,
paraDict
[
"dbName"
],
stableName
,
stableName
,
paraDict
[
'ctbNum'
])
#insert dat
e
#insert dat
a
for
i
in
range
(
paraDict
[
'stbNumbers'
]):
stableName
=
'%s_%d'
%
(
paraDict
[
'stbName'
],
i
)
newTdSql
=
tdCom
.
newTdSql
()
...
...
@@ -203,17 +205,19 @@ class TDTestCase:
clusterComCheck
.
checkDbRows
(
dbNumbers
)
# clusterComCheck.checkDb(dbNumbers,1,paraDict["dbName"])
tdSql
.
execute
(
"use %s"
%
(
paraDict
[
"dbName"
]))
tdSql
.
query
(
"show stables"
)
tdSql
.
checkRows
(
paraDict
[
"stbNumbers"
])
# for i in range(paraDict['stbNumbers']):
# stableName= '%s_%d'%(paraDict['stbName'],i)
# tdSql.query("select * from %s"%stableName)
# tdSql.checkRows(rowsPerStb)
newTdSql
=
tdCom
.
newTdSql
()
newTdSql
.
execute
(
"reset query cache"
)
newTdSql
.
execute
(
"use %s"
%
(
paraDict
[
"dbName"
]))
newTdSql
.
query
(
"show %s.stables"
%
(
paraDict
[
"dbName"
]))
newTdSql
.
checkRows
(
paraDict
[
"stbNumbers"
])
for
i
in
range
(
paraDict
[
'stbNumbers'
]):
stableName
=
'%s_%d'
%
(
paraDict
[
'stbName'
],
i
)
newTdSql
.
query
(
"select * from %s"
%
stableName
)
newTdSql
.
checkRows
(
rowsPerStb
)
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
1
,
stopRole
=
'dnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'dnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
浏览文件 @
3605a345
...
...
@@ -31,6 +31,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
...
...
@@ -118,6 +119,7 @@ class TDTestCase:
rowsPerStb
=
paraDict
[
"ctbNum"
]
*
paraDict
[
"rowsPerTbl"
]
rowsall
=
rowsPerStb
*
paraDict
[
'stbNumbers'
]
dbNumbers
=
1
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
...
...
@@ -214,7 +216,7 @@ class TDTestCase:
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
1
,
stopRole
=
'dnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
1
,
stopRole
=
'dnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
浏览文件 @
3605a345
...
...
@@ -30,7 +30,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
@@ -113,6 +113,7 @@ class TDTestCase:
vnodeNumbers
=
int
(
dnodeNumbers
-
mnodeNums
)
allDbNumbers
=
(
paraDict
[
'dbNumbers'
]
*
restartNumbers
)
allStbNumbers
=
(
paraDict
[
'stbNumbers'
]
*
restartNumbers
)
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
...
...
@@ -198,7 +199,7 @@ class TDTestCase:
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
10
,
stopRole
=
'dnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
10
,
stopRole
=
'dnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
浏览文件 @
3605a345
...
...
@@ -30,7 +30,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
@@ -87,6 +87,7 @@ class TDTestCase:
vnodeNumbers
=
int
(
dnodeNumbers
-
mnodeNums
)
allStbNumbers
=
(
paraDict
[
'stbNumbers'
]
*
restartNumbers
)
dbNumbers
=
1
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
...
...
@@ -171,7 +172,7 @@ class TDTestCase:
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'dnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'dnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
浏览文件 @
3605a345
...
...
@@ -30,7 +30,8 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
replicaVar
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
@@ -87,7 +88,8 @@ class TDTestCase:
vnodeNumbers
=
int
(
dnodeNumbers
-
mnodeNums
)
allDbNumbers
=
(
paraDict
[
'dbNumbers'
]
*
restartNumbers
)
allStbNumbers
=
(
paraDict
[
'stbNumbers'
]
*
restartNumbers
)
paraDict
[
'replica'
]
=
int
(
self
.
replicaVar
)
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
tdSql
.
checkData
(
0
,
1
,
'%s:6030'
%
self
.
host
)
...
...
@@ -171,7 +173,7 @@ class TDTestCase:
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
1
,
stopRole
=
'mnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
1
,
stopRole
=
'mnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
浏览文件 @
3605a345
...
...
@@ -30,7 +30,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
@@ -112,6 +112,7 @@ class TDTestCase:
vnodeNumbers
=
int
(
dnodeNumbers
-
mnodeNums
)
allStbNumbers
=
(
paraDict
[
'stbNumbers'
]
*
restartNumbers
)
dbNumbers
=
1
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
...
...
@@ -197,7 +198,7 @@ class TDTestCase:
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'mnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'mnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
浏览文件 @
3605a345
...
...
@@ -30,6 +30,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
...
...
@@ -88,6 +89,7 @@ class TDTestCase:
vnodeNumbers
=
int
(
dnodeNumbers
-
mnodeNums
)
allDbNumbers
=
(
paraDict
[
'dbNumbers'
]
*
restartNumbers
)
allStbNumbers
=
(
paraDict
[
'stbNumbers'
]
*
restartNumbers
)
paraDict
[
'replica'
]
=
self
.
replicaVar
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
...
...
@@ -171,7 +173,7 @@ class TDTestCase:
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
10
,
stopRole
=
'vnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
10
,
stopRole
=
'vnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
浏览文件 @
3605a345
...
...
@@ -30,7 +30,7 @@ class TDTestCase:
self
.
TDDnodes
=
None
tdSql
.
init
(
conn
.
cursor
())
self
.
host
=
socket
.
gethostname
()
print
(
tdSql
)
self
.
replicaVar
=
int
(
replicaVar
)
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
@@ -112,8 +112,8 @@ class TDTestCase:
vnodeNumbers
=
int
(
dnodeNumbers
-
mnodeNums
)
allStbNumbers
=
(
paraDict
[
'stbNumbers'
]
*
restartNumbers
)
dbNumbers
=
1
paraDict
[
'replica'
]
=
self
.
replicaVar
print
(
tdSql
)
tdLog
.
info
(
"first check dnode and mnode"
)
tdSql
.
query
(
"select * from information_schema.ins_dnodes;"
)
tdSql
.
checkData
(
0
,
1
,
'%s:6030'
%
self
.
host
)
...
...
@@ -175,7 +175,7 @@ class TDTestCase:
# dnodeNumbers don't include database of schema
if
clusterComCheck
.
checkDnodes
(
dnodeNumbers
):
tdLog
.
info
(
"
123
"
)
tdLog
.
info
(
"
check numbers of dnodes right
"
)
else
:
print
(
"456"
)
...
...
@@ -192,14 +192,15 @@ class TDTestCase:
tdSql
.
execute
(
"use %s"
%
(
paraDict
[
"dbName"
]))
tdSql
.
query
(
"show stables"
)
tdLog
.
debug
(
"we find %d stables but exepect to create %d stables "
%
(
tdSql
.
queryRows
,
allStbNumbers
))
# # tdLog.info("check Stable Rows:")
tdSql
.
checkRows
(
allStbNumbers
)
if
self
.
replicaVar
==
1
:
tdSql
.
checkRows
(
allStbNumbers
)
else
:
tdLog
.
debug
(
"we find %d stables but exepect to create %d stables "
%
(
tdSql
.
queryRows
,
allStbNumbers
))
def
run
(
self
):
# print(self.master_dnode.cfgDict)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
5
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'vnode'
)
self
.
fiveDnodeThreeMnode
(
dnodeNumbers
=
6
,
mnodeNums
=
3
,
restartNumbers
=
2
,
stopRole
=
'vnode'
)
def
stop
(
self
):
tdSql
.
close
()
...
...
tests/system-test/6-cluster/clusterCommonCheck.py
浏览文件 @
3605a345
...
...
@@ -47,13 +47,14 @@ class ClusterComCheck:
for
i
in
range
(
dnodeNumbers
):
if
tdSql
.
queryResult
[
i
][
4
]
==
"ready"
:
status
+=
1
tdLog
.
info
(
status
)
#
tdLog.info(status)
if
status
==
dnodeNumbers
:
tdLog
.
success
(
"it find cluster with %d dnodes and check that all cluster dnodes are ready within %ds! "
%
(
dnodeNumbers
,
count
))
tdLog
.
success
(
"it find cluster with %d dnodes and check that all cluster dnodes are ready within %ds! "
%
(
dnodeNumbers
,
count
+
1
))
return
True
count
+=
1
time
.
sleep
(
1
)
count
+=
1
else
:
tdSql
.
query
(
"select * from information_schema.ins_dnodes"
)
tdLog
.
debug
(
tdSql
.
queryResult
)
...
...
@@ -74,10 +75,10 @@ class ClusterComCheck:
tdLog
.
debug
(
tdSql
.
queryResult
)
tdLog
.
exit
(
"we find %d databases but expect %d in clusters! "
%
(
tdSql
.
queryRows
,
dbNumbers
))
def
checkDb
(
self
,
dbNumbers
,
restartNumber
,
dbNameIndex
):
def
checkDb
(
self
,
dbNumbers
,
restartNumber
,
dbNameIndex
,
timeout
=
100
):
count
=
0
alldbNumbers
=
(
dbNumbers
*
restartNumber
)
+
2
while
count
<
5
:
while
count
<
timeout
:
query_status
=
0
for
j
in
range
(
dbNumbers
):
for
i
in
range
(
alldbNumbers
):
...
...
@@ -87,22 +88,24 @@ class ClusterComCheck:
query_status
+=
1
tdLog
.
debug
(
"check %s_%d that status is ready "
%
(
dbNameIndex
,
j
))
else
:
sleep
(
1
)
continue
# print(query_status)
count
+=
1
if
query_status
==
dbNumbers
:
tdLog
.
success
(
" check %d database and all databases are ready within
5s! "
%
dbNumbers
)
tdLog
.
success
(
" check %d database and all databases are ready within
%ds! "
%
(
dbNumbers
,
count
+
1
)
)
return
True
count
+=
1
else
:
tdLog
.
debug
(
tdSql
.
queryResult
)
tdLog
.
debug
(
"query status is %d"
%
query_status
)
tdLog
.
exit
(
"database is not ready within
5s"
)
tdLog
.
exit
(
"database is not ready within
%ds"
%
(
timeout
+
1
)
)
def
checkData
(
self
,
dbname
,
stbname
,
stableCount
,
CtableCount
,
rowsPerSTable
,):
tdSql
.
execute
(
"use %s"
%
dbname
)
tdSql
.
query
(
"show
stables"
)
tdSql
.
query
(
"show
%s.stables"
%
dbname
)
tdSql
.
checkRows
(
stableCount
)
tdSql
.
query
(
"show
tables"
)
tdSql
.
query
(
"show
%s.tables"
%
dbname
)
tdSql
.
checkRows
(
CtableCount
)
for
i
in
range
(
stableCount
):
tdSql
.
query
(
"select count(*) from %s%d"
%
(
stbname
,
i
))
...
...
tests/system-test/fulltest.sh
浏览文件 @
3605a345
...
...
@@ -236,22 +236,29 @@ python3 ./test.py -f 6-cluster/5dnode2mnode.py -N 5 -M 3
python3 ./test.py
-f
6-cluster/5dnode3mnodeStop.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeStop2Follower.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeStopLoop.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeRestartDnodeInsertData.py
-N
5
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
-N
5
-M
3
# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartMnodeInsertData.py -N 5 -M 3
# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartVnodeInsertData.py -N 5 -M 3
python3 ./test.py
-f
6-cluster/5dnode3mnodeAdd1Ddnoe.py
-N
6
-M
3
-C
5
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeRestartDnodeInsertData.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeRestartDnodeInsertData.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
-N
6
-M
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
-N
6
-M
3
-n
3
python3 ./test.py
-f
6-cluster/5dnode3mnodeAdd1Ddnoe.py
-N
7
-M
3
-C
6
python3 ./test.py
-f
6-cluster/5dnode3mnodeAdd1Ddnoe.py
-N
7
-M
3
-C
6
-n
3
# BUG python3 ./test.py -f 6-cluster/5dnode3mnodeStopInsert.py
python3 ./test.py
-f
6-cluster/5dnode3mnodeDrop.py
-N
5
# TD-19646 python3 test.py -f 6-cluster/5dnode3mnodeStopConnect.py -N 5 -M 3
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录