Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
75d1f35a
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1187
Star
22018
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看板
未验证
提交
75d1f35a
编写于
10月 26, 2022
作者:
H
Hui Li
提交者:
GitHub
10月 26, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #17673 from taosdata/test/cluster_vnode
test: add test case about vnode for cluster
上级
4ac9c369
60b6949b
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
85 addition
and
76 deletion
+85
-76
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py
...r/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py
+2
-2
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py
...r/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py
+2
-2
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py
...asic_replica3_insertdatas_querys_loop_restart_follower.py
+6
-3
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py
..._basic_replica3_insertdatas_querys_loop_restart_leader.py
+7
-4
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py
...dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py
+12
-12
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py
...de1mnode_basic_replica3_insertdatas_stop_follower_sync.py
+4
-4
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py
...c_replica3_insertdatas_stop_follower_unsync_force_stop.py
+13
-13
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py
...de/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py
+2
-2
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py
...ode_basic_replica3_insertdatas_stop_leader_forece_stop.py
+2
-2
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py
.../4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py
+2
-2
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py
...e/4dnode1mnode_basic_replica3_querydatas_stop_follower.py
+3
-3
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py
...ode_basic_replica3_querydatas_stop_follower_force_stop.py
+4
-4
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py
...ode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py
+3
-3
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py
...mnode_basic_replica3_querydatas_stop_leader_force_stop.py
+3
-3
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
...st/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
+2
-2
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py
...ster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py
+3
-3
tests/system-test/fulltest.sh
tests/system-test/fulltest.sh
+15
-12
未找到文件。
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py
浏览文件 @
75d1f35a
...
@@ -29,8 +29,8 @@ class TDTestCase:
...
@@ -29,8 +29,8 @@ class TDTestCase:
self
.
replica
=
1
self
.
replica
=
1
self
.
vgroups
=
1
self
.
vgroups
=
1
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
0
self
.
row_nums
=
100
self
.
query_times
=
50
0
self
.
query_times
=
1
0
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py
浏览文件 @
75d1f35a
...
@@ -29,8 +29,8 @@ class TDTestCase:
...
@@ -29,8 +29,8 @@ class TDTestCase:
self
.
replica
=
3
self
.
replica
=
3
self
.
vgroups
=
1
self
.
vgroups
=
1
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
0
self
.
row_nums
=
100
self
.
query_times
=
10
00
self
.
query_times
=
10
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py
浏览文件 @
75d1f35a
...
@@ -30,9 +30,9 @@ class TDTestCase:
...
@@ -30,9 +30,9 @@ class TDTestCase:
self
.
vgroups
=
10
self
.
vgroups
=
10
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
max_restart_time
=
2
0
self
.
max_restart_time
=
3
0
self
.
restart_server_times
=
5
self
.
restart_server_times
=
2
self
.
query_times
=
100
self
.
query_times
=
5
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
@@ -91,6 +91,7 @@ class TDTestCase:
...
@@ -91,6 +91,7 @@ class TDTestCase:
tdSql
.
execute
(
"drop database if exists test"
)
tdSql
.
execute
(
"drop database if exists test"
)
tdSql
.
execute
(
"create database if not exists test replica 1 duration 300"
)
tdSql
.
execute
(
"create database if not exists test replica 1 duration 300"
)
time
.
sleep
(
3
)
tdSql
.
execute
(
"use test"
)
tdSql
.
execute
(
"use test"
)
tdSql
.
execute
(
tdSql
.
execute
(
'''create table stb1
'''create table stb1
...
@@ -135,7 +136,9 @@ class TDTestCase:
...
@@ -135,7 +136,9 @@ class TDTestCase:
tdLog
.
notice
(
" ==== create database {} and insert rows begin ====="
.
format
(
dbname
))
tdLog
.
notice
(
" ==== create database {} and insert rows begin ====="
.
format
(
dbname
))
newTdSql
.
execute
(
drop_db_sql
)
newTdSql
.
execute
(
drop_db_sql
)
time
.
sleep
(
3
)
newTdSql
.
execute
(
create_db_sql
)
newTdSql
.
execute
(
create_db_sql
)
time
.
sleep
(
5
)
newTdSql
.
execute
(
"use {}"
.
format
(
dbname
))
newTdSql
.
execute
(
"use {}"
.
format
(
dbname
))
newTdSql
.
execute
(
newTdSql
.
execute
(
'''create table stb1
'''create table stb1
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py
浏览文件 @
75d1f35a
...
@@ -29,10 +29,10 @@ class TDTestCase:
...
@@ -29,10 +29,10 @@ class TDTestCase:
self
.
replica
=
3
self
.
replica
=
3
self
.
vgroups
=
10
self
.
vgroups
=
10
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
10
0
self
.
row_nums
=
10
self
.
max_restart_time
=
2
0
self
.
max_restart_time
=
3
0
self
.
restart_server_times
=
10
self
.
restart_server_times
=
2
self
.
query_times
=
10
0
self
.
query_times
=
10
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
@@ -92,6 +92,7 @@ class TDTestCase:
...
@@ -92,6 +92,7 @@ class TDTestCase:
tdSql
.
execute
(
"drop database if exists test"
)
tdSql
.
execute
(
"drop database if exists test"
)
tdSql
.
execute
(
"create database if not exists test replica 1 duration 300"
)
tdSql
.
execute
(
"create database if not exists test replica 1 duration 300"
)
tdSql
.
execute
(
"use test"
)
tdSql
.
execute
(
"use test"
)
time
.
sleep
(
3
)
tdSql
.
execute
(
tdSql
.
execute
(
'''create table stb1
'''create table stb1
(ts timestamp, c1 int, c2 bigint, c3 smallint, c4 tinyint, c5 float, c6 double, c7 bool, c8 binary(16),c9 nchar(32), c10 timestamp)
(ts timestamp, c1 int, c2 bigint, c3 smallint, c4 tinyint, c5 float, c6 double, c7 bool, c8 binary(16),c9 nchar(32), c10 timestamp)
...
@@ -135,7 +136,9 @@ class TDTestCase:
...
@@ -135,7 +136,9 @@ class TDTestCase:
tdLog
.
notice
(
" ==== create database {} and insert rows begin ====="
.
format
(
dbname
))
tdLog
.
notice
(
" ==== create database {} and insert rows begin ====="
.
format
(
dbname
))
newTdSql
.
execute
(
drop_db_sql
)
newTdSql
.
execute
(
drop_db_sql
)
time
.
sleep
(
3
)
newTdSql
.
execute
(
create_db_sql
)
newTdSql
.
execute
(
create_db_sql
)
time
.
sleep
(
5
)
newTdSql
.
execute
(
"use {}"
.
format
(
dbname
))
newTdSql
.
execute
(
"use {}"
.
format
(
dbname
))
newTdSql
.
execute
(
newTdSql
.
execute
(
'''create table stb1
'''create table stb1
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py
浏览文件 @
75d1f35a
...
@@ -35,10 +35,10 @@ class TDTestCase:
...
@@ -35,10 +35,10 @@ class TDTestCase:
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
2
self
.
current_thread
=
None
self
.
current_thread
=
None
self
.
max_restart_time
=
1
0
self
.
max_restart_time
=
3
0
self
.
try_check_times
=
1
0
self
.
try_check_times
=
3
0
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
@@ -83,14 +83,14 @@ class TDTestCase:
...
@@ -83,14 +83,14 @@ class TDTestCase:
if
count
==
1
and
is_leader
:
if
count
==
1
and
is_leader
:
tdLog
.
notice
(
"===== depoly cluster success with 1 mnode as leader ====="
)
tdLog
.
notice
(
"===== depoly cluster success with 1 mnode as leader ====="
)
else
:
else
:
tdLog
.
exit
(
"===== depoly cluster fail with 1 mnode as leader ====="
)
tdLog
.
info
(
"===== depoly cluster fail with 1 mnode as leader ====="
)
for
k
,
v
in
self
.
dnode_list
.
items
():
for
k
,
v
in
self
.
dnode_list
.
items
():
if
k
==
mnode_name
:
if
k
==
mnode_name
:
if
v
[
3
]
==
0
:
if
v
[
3
]
==
0
:
tdLog
.
notice
(
"===== depoly cluster mnode only success at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
tdLog
.
notice
(
"===== depoly cluster mnode only success at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
else
:
else
:
tdLog
.
exit
(
"===== depoly cluster mnode only fail at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
tdLog
.
info
(
"===== depoly cluster mnode only fail at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
else
:
else
:
continue
continue
...
@@ -149,7 +149,7 @@ class TDTestCase:
...
@@ -149,7 +149,7 @@ class TDTestCase:
while
not
status_OK
:
while
not
status_OK
:
if
count
>
self
.
try_check_times
:
if
count
>
self
.
try_check_times
:
os
.
system
(
"taos -s ' show {}.vgroups; '"
.
format
(
dbname
))
os
.
system
(
"taos -s ' show {}.vgroups; '"
.
format
(
dbname
))
tdLog
.
exit
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
# tdLog.info
(" ==== check insert rows failed after {} try check {} times of database {}".format(count , self.try_check_times ,dbname))
break
break
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
tdSql
.
query
(
"select count(*) from {}.{}"
.
format
(
dbname
,
stablename
))
tdSql
.
query
(
"select count(*) from {}.{}"
.
format
(
dbname
,
stablename
))
...
@@ -170,7 +170,7 @@ class TDTestCase:
...
@@ -170,7 +170,7 @@ class TDTestCase:
while
not
status_OK
:
while
not
status_OK
:
if
count
>
self
.
try_check_times
:
if
count
>
self
.
try_check_times
:
os
.
system
(
"taos -s ' show {}.vgroups;'"
.
format
(
dbname
))
os
.
system
(
"taos -s ' show {}.vgroups;'"
.
format
(
dbname
))
tdLog
.
exit
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
# tdLog.info
(" ==== check insert rows failed after {} try check {} times of database {}".format(count , self.try_check_times ,dbname))
break
break
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
tdSql
.
query
(
"select distinct tbname from {}.{}"
.
format
(
dbname
,
stablename
))
tdSql
.
query
(
"select distinct tbname from {}.{}"
.
format
(
dbname
,
stablename
))
...
@@ -270,16 +270,16 @@ class TDTestCase:
...
@@ -270,16 +270,16 @@ class TDTestCase:
caller
=
inspect
.
getframeinfo
(
inspect
.
stack
()[
2
][
0
])
caller
=
inspect
.
getframeinfo
(
inspect
.
stack
()[
2
][
0
])
if
row
<
0
:
if
row
<
0
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, row:%d is smaller than zero"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, row:%d is smaller than zero"
%
args
)
if
col
<
0
:
if
col
<
0
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, col:%d is smaller than zero"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, col:%d is smaller than zero"
%
args
)
if
row
>
tdSql
.
queryRows
:
if
row
>
tdSql
.
queryRows
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
,
tdSql
.
queryRows
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
,
tdSql
.
queryRows
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, row:%d is larger than queryRows:%d"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, row:%d is larger than queryRows:%d"
%
args
)
if
col
>
tdSql
.
queryCols
:
if
col
>
tdSql
.
queryCols
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
col
,
tdSql
.
queryCols
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
col
,
tdSql
.
queryCols
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, col:%d is larger than queryCols:%d"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, col:%d is larger than queryCols:%d"
%
args
)
def
mycheckData
(
self
,
sql
,
row
,
col
,
data
):
def
mycheckData
(
self
,
sql
,
row
,
col
,
data
):
check_status
=
True
check_status
=
True
...
@@ -363,7 +363,7 @@ class TDTestCase:
...
@@ -363,7 +363,7 @@ class TDTestCase:
end
=
time
.
time
()
end
=
time
.
time
()
time_cost
=
int
(
end
-
start
)
time_cost
=
int
(
end
-
start
)
if
time_cost
>
self
.
max_restart_time
:
if
time_cost
>
self
.
max_restart_time
:
tdLog
.
exit
(
" ==== restart dnode {} cost too much time , please check ===="
.
format
(
self
.
stop_dnode_id
))
tdLog
.
info
(
" ==== restart dnode {} cost too much time , please check ===="
.
format
(
self
.
stop_dnode_id
))
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py
浏览文件 @
75d1f35a
...
@@ -35,9 +35,9 @@ class TDTestCase:
...
@@ -35,9 +35,9 @@ class TDTestCase:
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
2
self
.
current_thread
=
None
self
.
current_thread
=
None
self
.
max_restart_time
=
1
0
self
.
max_restart_time
=
3
0
self
.
try_check_times
=
10
self
.
try_check_times
=
10
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
@@ -189,7 +189,7 @@ class TDTestCase:
...
@@ -189,7 +189,7 @@ class TDTestCase:
while
not
status_OK
:
while
not
status_OK
:
if
count
>
self
.
try_check_times
:
if
count
>
self
.
try_check_times
:
os
.
system
(
"taos -s ' show {}.vgroups; '"
.
format
(
dbname
))
os
.
system
(
"taos -s ' show {}.vgroups; '"
.
format
(
dbname
))
tdLog
.
exit
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
#
tdLog.exit(" ==== check insert rows failed after {} try check {} times of database {}".format(count , self.try_check_times ,dbname))
break
break
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
tdSql
.
query
(
"select count(*) from {}.{}"
.
format
(
dbname
,
stablename
))
tdSql
.
query
(
"select count(*) from {}.{}"
.
format
(
dbname
,
stablename
))
...
@@ -210,7 +210,7 @@ class TDTestCase:
...
@@ -210,7 +210,7 @@ class TDTestCase:
while
not
status_OK
:
while
not
status_OK
:
if
count
>
self
.
try_check_times
:
if
count
>
self
.
try_check_times
:
os
.
system
(
"taos -s ' show {}.vgroups;'"
.
format
(
dbname
))
os
.
system
(
"taos -s ' show {}.vgroups;'"
.
format
(
dbname
))
tdLog
.
exit
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
#
tdLog.exit(" ==== check insert rows failed after {} try check {} times of database {}".format(count , self.try_check_times ,dbname))
break
break
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
tdSql
.
query
(
"select distinct tbname from {}.{}"
.
format
(
dbname
,
stablename
))
tdSql
.
query
(
"select distinct tbname from {}.{}"
.
format
(
dbname
,
stablename
))
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py
浏览文件 @
75d1f35a
...
@@ -35,9 +35,9 @@ class TDTestCase:
...
@@ -35,9 +35,9 @@ class TDTestCase:
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
1
self
.
current_thread
=
None
self
.
current_thread
=
None
self
.
max_restart_time
=
1
0
self
.
max_restart_time
=
3
0
self
.
try_check_times
=
10
self
.
try_check_times
=
10
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
@@ -82,14 +82,14 @@ class TDTestCase:
...
@@ -82,14 +82,14 @@ class TDTestCase:
if
count
==
1
and
is_leader
:
if
count
==
1
and
is_leader
:
tdLog
.
notice
(
"===== depoly cluster success with 1 mnode as leader ====="
)
tdLog
.
notice
(
"===== depoly cluster success with 1 mnode as leader ====="
)
else
:
else
:
tdLog
.
exit
(
"===== depoly cluster fail with 1 mnode as leader ====="
)
tdLog
.
info
(
"===== depoly cluster fail with 1 mnode as leader ====="
)
for
k
,
v
in
self
.
dnode_list
.
items
():
for
k
,
v
in
self
.
dnode_list
.
items
():
if
k
==
mnode_name
:
if
k
==
mnode_name
:
if
v
[
3
]
==
0
:
if
v
[
3
]
==
0
:
tdLog
.
notice
(
"===== depoly cluster mnode only success at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
tdLog
.
notice
(
"===== depoly cluster mnode only success at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
else
:
else
:
tdLog
.
exit
(
"===== depoly cluster mnode only fail at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
tdLog
.
info
(
"===== depoly cluster mnode only fail at {} , support_vnodes is {} "
.
format
(
mnode_name
,
v
[
3
]))
else
:
else
:
continue
continue
...
@@ -132,7 +132,7 @@ class TDTestCase:
...
@@ -132,7 +132,7 @@ class TDTestCase:
if
len
(
v
)
==
1
and
v
[
0
]
in
[
'leader'
,
'leader*'
]:
if
len
(
v
)
==
1
and
v
[
0
]
in
[
'leader'
,
'leader*'
]:
tdLog
.
notice
(
" === create database replica only 1 role leader check success of vgroup_id {} ======"
.
format
(
k
))
tdLog
.
notice
(
" === create database replica only 1 role leader check success of vgroup_id {} ======"
.
format
(
k
))
else
:
else
:
tdLog
.
exit
(
" === create database replica only 1 role leader check fail of vgroup_id {} ======"
.
format
(
k
))
tdLog
.
info
(
" === create database replica only 1 role leader check fail of vgroup_id {} ======"
.
format
(
k
))
def
create_database
(
self
,
dbname
,
replica_num
,
vgroup_nums
):
def
create_database
(
self
,
dbname
,
replica_num
,
vgroup_nums
):
drop_db_sql
=
"drop database if exists {}"
.
format
(
dbname
)
drop_db_sql
=
"drop database if exists {}"
.
format
(
dbname
)
...
@@ -189,7 +189,7 @@ class TDTestCase:
...
@@ -189,7 +189,7 @@ class TDTestCase:
while
not
status_OK
:
while
not
status_OK
:
if
count
>
self
.
try_check_times
:
if
count
>
self
.
try_check_times
:
os
.
system
(
"taos -s ' show {}.vgroups; '"
.
format
(
dbname
))
os
.
system
(
"taos -s ' show {}.vgroups; '"
.
format
(
dbname
))
tdLog
.
exit
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
tdLog
.
info
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
break
break
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
tdSql
.
query
(
"select count(*) from {}.{}"
.
format
(
dbname
,
stablename
))
tdSql
.
query
(
"select count(*) from {}.{}"
.
format
(
dbname
,
stablename
))
...
@@ -210,7 +210,7 @@ class TDTestCase:
...
@@ -210,7 +210,7 @@ class TDTestCase:
while
not
status_OK
:
while
not
status_OK
:
if
count
>
self
.
try_check_times
:
if
count
>
self
.
try_check_times
:
os
.
system
(
"taos -s ' show {}.vgroups;'"
.
format
(
dbname
))
os
.
system
(
"taos -s ' show {}.vgroups;'"
.
format
(
dbname
))
tdLog
.
exit
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
tdLog
.
info
(
" ==== check insert rows failed after {} try check {} times of database {}"
.
format
(
count
,
self
.
try_check_times
,
dbname
))
break
break
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
tdSql
.
query
(
"select distinct tbname from {}.{}"
.
format
(
dbname
,
stablename
))
tdSql
.
query
(
"select distinct tbname from {}.{}"
.
format
(
dbname
,
stablename
))
...
@@ -312,16 +312,16 @@ class TDTestCase:
...
@@ -312,16 +312,16 @@ class TDTestCase:
caller
=
inspect
.
getframeinfo
(
inspect
.
stack
()[
2
][
0
])
caller
=
inspect
.
getframeinfo
(
inspect
.
stack
()[
2
][
0
])
if
row
<
0
:
if
row
<
0
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, row:%d is smaller than zero"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, row:%d is smaller than zero"
%
args
)
if
col
<
0
:
if
col
<
0
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, col:%d is smaller than zero"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, col:%d is smaller than zero"
%
args
)
if
row
>
tdSql
.
queryRows
:
if
row
>
tdSql
.
queryRows
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
,
tdSql
.
queryRows
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
row
,
tdSql
.
queryRows
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, row:%d is larger than queryRows:%d"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, row:%d is larger than queryRows:%d"
%
args
)
if
col
>
tdSql
.
queryCols
:
if
col
>
tdSql
.
queryCols
:
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
col
,
tdSql
.
queryCols
)
args
=
(
caller
.
filename
,
caller
.
lineno
,
sql
,
col
,
tdSql
.
queryCols
)
tdLog
.
exit
(
"%s(%d) failed: sql:%s, col:%d is larger than queryCols:%d"
%
args
)
tdLog
.
info
(
"%s(%d) failed: sql:%s, col:%d is larger than queryCols:%d"
%
args
)
def
mycheckData
(
self
,
sql
,
row
,
col
,
data
):
def
mycheckData
(
self
,
sql
,
row
,
col
,
data
):
check_status
=
True
check_status
=
True
...
@@ -427,7 +427,7 @@ class TDTestCase:
...
@@ -427,7 +427,7 @@ class TDTestCase:
end
=
time
.
time
()
end
=
time
.
time
()
time_cost
=
int
(
end
-
start
)
time_cost
=
int
(
end
-
start
)
if
time_cost
>
self
.
max_restart_time
:
if
time_cost
>
self
.
max_restart_time
:
tdLog
.
exit
(
" ==== restart dnode {} cost too much time , please check ===="
.
format
(
self
.
stop_dnode_id
))
tdLog
.
info
(
" ==== restart dnode {} cost too much time , please check ===="
.
format
(
self
.
stop_dnode_id
))
# create new stables again
# create new stables again
tdLog
.
notice
(
" ==== create new stable {} when dnode {} restart ===="
.
format
(
'new_stb2'
,
self
.
stop_dnode_id
))
tdLog
.
notice
(
" ==== create new stable {} when dnode {} restart ===="
.
format
(
'new_stb2'
,
self
.
stop_dnode_id
))
...
@@ -459,7 +459,7 @@ class TDTestCase:
...
@@ -459,7 +459,7 @@ class TDTestCase:
time_cost
=
int
(
end
-
start
)
time_cost
=
int
(
end
-
start
)
if
time_cost
>
self
.
max_restart_time
:
if
time_cost
>
self
.
max_restart_time
:
tdLog
.
exit
(
" ==== restart dnode {} cost too much time , please check ===="
.
format
(
self
.
stop_dnode_id
))
tdLog
.
info
(
" ==== restart dnode {} cost too much time , please check ===="
.
format
(
self
.
stop_dnode_id
))
def
_create_threading
(
dbname
):
def
_create_threading
(
dbname
):
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py
浏览文件 @
75d1f35a
...
@@ -289,7 +289,7 @@ class TDTestCase:
...
@@ -289,7 +289,7 @@ class TDTestCase:
def
start_benchmark_inserts
(
self
,
dbname
,
json_file
):
def
start_benchmark_inserts
(
self
,
dbname
,
json_file
):
benchmark_build_path
=
self
.
getBuildPath
()
+
'/build/bin/taosBenchmark'
benchmark_build_path
=
self
.
getBuildPath
()
+
'/build/bin/taosBenchmark'
tdLog
.
notice
(
"==== start taosBenchmark insert datas of database {} ==== "
.
format
(
dbname
))
tdLog
.
notice
(
"==== start taosBenchmark insert datas of database {} ==== "
.
format
(
dbname
))
os
.
system
(
" {} -
f {}
>>/dev/null 2>&1 "
.
format
(
benchmark_build_path
,
json_file
))
os
.
system
(
" {} -
y -n 10 -t 10
>>/dev/null 2>&1 "
.
format
(
benchmark_build_path
,
json_file
))
def
stop_leader_when_Benchmark_inserts
(
self
,
dbname
,
total_rows
,
json_file
):
def
stop_leader_when_Benchmark_inserts
(
self
,
dbname
,
total_rows
,
json_file
):
...
@@ -366,7 +366,7 @@ class TDTestCase:
...
@@ -366,7 +366,7 @@ class TDTestCase:
# basic insert and check of cluster
# basic insert and check of cluster
# self.check_setup_cluster_status()
# self.check_setup_cluster_status()
json
=
os
.
path
.
dirname
(
__file__
)
+
'/insert_10W_rows.json'
json
=
os
.
path
.
dirname
(
__file__
)
+
'/insert_10W_rows.json'
self
.
stop_leader_when_Benchmark_inserts
(
'db_1'
,
100
000
,
json
)
self
.
stop_leader_when_Benchmark_inserts
(
'db_1'
,
100
,
json
)
# tdLog.notice( " ===== start insert 100W rows ==== ")
# tdLog.notice( " ===== start insert 100W rows ==== ")
# json = os.path.dirname(__file__) + '/insert_100W_rows.json'
# json = os.path.dirname(__file__) + '/insert_100W_rows.json'
# self.stop_leader_when_Benchmark_inserts('db_2' , 1000000 ,json)
# self.stop_leader_when_Benchmark_inserts('db_2' , 1000000 ,json)
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py
浏览文件 @
75d1f35a
...
@@ -33,9 +33,9 @@ class TDTestCase:
...
@@ -33,9 +33,9 @@ class TDTestCase:
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
1
self
.
current_thread
=
None
self
.
current_thread
=
None
self
.
max_restart_time
=
5
self
.
max_restart_time
=
30
self
.
try_check_times
=
10
self
.
try_check_times
=
10
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py
浏览文件 @
75d1f35a
...
@@ -29,8 +29,8 @@ class TDTestCase:
...
@@ -29,8 +29,8 @@ class TDTestCase:
self
.
replica
=
3
self
.
replica
=
3
self
.
vgroups
=
1
self
.
vgroups
=
1
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
0
self
.
row_nums
=
100
self
.
query_times
=
10
0
self
.
query_times
=
10
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
selfPath
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py
浏览文件 @
75d1f35a
...
@@ -35,11 +35,11 @@ class TDTestCase:
...
@@ -35,11 +35,11 @@ class TDTestCase:
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
1
self
.
thread_list
=
[]
self
.
thread_list
=
[]
self
.
max_restart_time
=
1
0
self
.
max_restart_time
=
3
0
self
.
try_check_times
=
10
self
.
try_check_times
=
10
self
.
query_times
=
100
self
.
query_times
=
5
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py
浏览文件 @
75d1f35a
...
@@ -33,13 +33,13 @@ class TDTestCase:
...
@@ -33,13 +33,13 @@ class TDTestCase:
self
.
replica
=
3
self
.
replica
=
3
self
.
vgroups
=
1
self
.
vgroups
=
1
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
10
0
self
.
row_nums
=
10
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
1
self
.
thread_list
=
[]
self
.
thread_list
=
[]
self
.
max_restart_time
=
1
0
self
.
max_restart_time
=
3
0
self
.
try_check_times
=
10
self
.
try_check_times
=
10
self
.
query_times
=
100
self
.
query_times
=
5
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py
浏览文件 @
75d1f35a
...
@@ -35,11 +35,11 @@ class TDTestCase:
...
@@ -35,11 +35,11 @@ class TDTestCase:
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
1
self
.
thread_list
=
[]
self
.
thread_list
=
[]
self
.
max_restart_time
=
1
0
self
.
max_restart_time
=
3
0
self
.
try_check_times
=
10
self
.
try_check_times
=
10
self
.
query_times
=
10
0
self
.
query_times
=
10
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py
浏览文件 @
75d1f35a
...
@@ -35,11 +35,11 @@ class TDTestCase:
...
@@ -35,11 +35,11 @@ class TDTestCase:
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
100
self
.
row_nums
=
100
self
.
stop_dnode_id
=
None
self
.
stop_dnode_id
=
None
self
.
loop_restart_times
=
5
self
.
loop_restart_times
=
1
self
.
thread_list
=
[]
self
.
thread_list
=
[]
self
.
max_restart_time
=
1
0
self
.
max_restart_time
=
3
0
self
.
try_check_times
=
10
self
.
try_check_times
=
10
self
.
query_times
=
100
self
.
query_times
=
5
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
浏览文件 @
75d1f35a
...
@@ -28,7 +28,7 @@ class TDTestCase:
...
@@ -28,7 +28,7 @@ class TDTestCase:
self
.
replica
=
1
self
.
replica
=
1
self
.
vgroups
=
2
self
.
vgroups
=
2
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
10
0
self
.
row_nums
=
10
self
.
max_vote_time_cost
=
30
# seconds
self
.
max_vote_time_cost
=
30
# seconds
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
@@ -185,7 +185,7 @@ class TDTestCase:
...
@@ -185,7 +185,7 @@ class TDTestCase:
# create database replica 3 vgroups 100
# create database replica 3 vgroups 100
db3
=
'db_3'
db3
=
'db_3'
create_db_replica_3_vgroups_100
=
"create database {} replica 3 vgroups
10
0"
.
format
(
db3
)
create_db_replica_3_vgroups_100
=
"create database {} replica 3 vgroups
2
0"
.
format
(
db3
)
tdLog
.
notice
(
'=======database {} replica 3 vgroups 100 ======'
.
format
(
db3
))
tdLog
.
notice
(
'=======database {} replica 3 vgroups 100 ======'
.
format
(
db3
))
tdSql
.
execute
(
create_db_replica_3_vgroups_100
)
tdSql
.
execute
(
create_db_replica_3_vgroups_100
)
self
.
vote_leader_time_costs
(
db3
)
self
.
vote_leader_time_costs
(
db3
)
...
...
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py
浏览文件 @
75d1f35a
...
@@ -30,8 +30,8 @@ class TDTestCase:
...
@@ -30,8 +30,8 @@ class TDTestCase:
self
.
replica
=
1
self
.
replica
=
1
self
.
vgroups
=
2
self
.
vgroups
=
2
self
.
tb_nums
=
10
self
.
tb_nums
=
10
self
.
row_nums
=
10
0
self
.
row_nums
=
10
self
.
max_vote_time_cost
=
1
0
# seconds
self
.
max_vote_time_cost
=
2
0
# seconds
self
.
stop_dnode
=
None
self
.
stop_dnode
=
None
def
getBuildPath
(
self
):
def
getBuildPath
(
self
):
...
@@ -341,7 +341,7 @@ class TDTestCase:
...
@@ -341,7 +341,7 @@ class TDTestCase:
# create database replica 3 vgroups 100
# create database replica 3 vgroups 100
db3
=
'db_3'
db3
=
'db_3'
create_db_replica_3_vgroups_100
=
"create database {} replica 3 vgroups
10
0"
.
format
(
db3
)
create_db_replica_3_vgroups_100
=
"create database {} replica 3 vgroups
2
0"
.
format
(
db3
)
tdLog
.
notice
(
'=======database {} replica 3 vgroups 100 ======'
.
format
(
db3
))
tdLog
.
notice
(
'=======database {} replica 3 vgroups 100 ======'
.
format
(
db3
))
tdSql
.
execute
(
create_db_replica_3_vgroups_100
)
tdSql
.
execute
(
create_db_replica_3_vgroups_100
)
self
.
vote_leader_time_costs
(
db3
)
self
.
vote_leader_time_costs
(
db3
)
...
...
tests/system-test/fulltest.sh
浏览文件 @
75d1f35a
...
@@ -263,25 +263,28 @@ python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3
...
@@ -263,25 +263,28 @@ python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py
-N
4
-M
1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_force_stop_all_dnodes.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_force_stop_all_dnodes.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py
-N
4
-M
1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_all_vnode.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_all_vnode.py
-N
4
-M
1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py
-N
4
-M
1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py
-N
4
-M
1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py
-N
4
-M
1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py
-N
4
-M
1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py -N 4 -M 1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py -N 4 -M 1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py -N 4 -M 1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py -N 4 -M 1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py
-N
4
-M
1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py -N 4 -M 1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py -N 4 -M 1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py -N 4 -M 1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py
-N
4
-M
1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py
-N
4
-M
1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py -N 4 -M 1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py -N 4 -M 1
#
python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
-N
4
-M
1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
-N
4
-M
1
# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py -N 4 -M 1
python3 test.py
-f
6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py
-N
4
-M
1
python3 ./test.py
-f
7-tmq/create_wrong_topic.py
python3 ./test.py
-f
7-tmq/create_wrong_topic.py
python3 ./test.py
-f
7-tmq/dropDbR3ConflictTransaction.py
-N
3
python3 ./test.py
-f
7-tmq/dropDbR3ConflictTransaction.py
-N
3
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录