[TD-549] scripts change
This commit is contained in:
parent
fa2a96e520
commit
7402afb608
|
@ -307,78 +307,3 @@ cd ../../../debug; make
|
|||
./test.sh -f unique/vnode/replica3_basic.sim
|
||||
./test.sh -f unique/vnode/replica3_repeat.sim
|
||||
./test.sh -f unique/vnode/replica3_vgroup.sim
|
||||
|
||||
./test.sh -f unique/account/account_create.sim
|
||||
./test.sh -f unique/account/account_delete.sim
|
||||
./test.sh -f unique/account/account_len.sim
|
||||
./test.sh -f unique/account/authority.sim
|
||||
./test.sh -f unique/account/basic.sim
|
||||
./test.sh -f unique/account/paras.sim
|
||||
./test.sh -f unique/account/pass_alter.sim
|
||||
./test.sh -f unique/account/pass_len.sim
|
||||
./test.sh -f unique/account/usage.sim
|
||||
./test.sh -f unique/account/user_create.sim
|
||||
./test.sh -f unique/account/user_len.sim
|
||||
|
||||
./test.sh -f unique/big/balance.sim
|
||||
./test.sh -f unique/big/maxvnodes.sim
|
||||
./test.sh -f unique/big/tcp.sim
|
||||
|
||||
./test.sh -f unique/cluster/balance1.sim
|
||||
./test.sh -f unique/cluster/balance2.sim
|
||||
./test.sh -f unique/cluster/balance3.sim
|
||||
./test.sh -f unique/cluster/cache.sim
|
||||
|
||||
./test.sh -f unique/column/replica3.sim
|
||||
|
||||
./test.sh -f unique/db/commit.sim
|
||||
./test.sh -f unique/db/delete.sim
|
||||
./test.sh -f unique/db/delete_part.sim
|
||||
./test.sh -f unique/db/replica_add12.sim
|
||||
./test.sh -f unique/db/replica_add13.sim
|
||||
./test.sh -f unique/db/replica_add23.sim
|
||||
./test.sh -f unique/db/replica_reduce21.sim
|
||||
./test.sh -f unique/db/replica_reduce32.sim
|
||||
./test.sh -f unique/db/replica_reduce31.sim
|
||||
./test.sh -f unique/db/replica_part.sim
|
||||
|
||||
./test.sh -f unique/dnode/balance1.sim
|
||||
./test.sh -f unique/dnode/balance2.sim
|
||||
./test.sh -f unique/dnode/balance3.sim
|
||||
./test.sh -f unique/dnode/balancex.sim
|
||||
./test.sh -f unique/dnode/offline1.sim
|
||||
./test.sh -f unique/dnode/offline2.sim
|
||||
./test.sh -f unique/dnode/remove1.sim
|
||||
./test.sh -f unique/dnode/remove2.sim
|
||||
./test.sh -f unique/dnode/vnode_clean.sim
|
||||
|
||||
./test.sh -f unique/http/admin.sim
|
||||
./test.sh -f unique/http/opentsdb.sim
|
||||
|
||||
./test.sh -f unique/import/replica2.sim
|
||||
./test.sh -f unique/import/replica3.sim
|
||||
|
||||
./test.sh -f unique/stable/balance_replica1.sim
|
||||
./test.sh -f unique/stable/dnode2_stop.sim
|
||||
./test.sh -f unique/stable/dnode2.sim
|
||||
./test.sh -f unique/stable/dnode3.sim
|
||||
./test.sh -f unique/stable/replica2_dnode4.sim
|
||||
./test.sh -f unique/stable/replica2_vnode3.sim
|
||||
./test.sh -f unique/stable/replica3_dnode6.sim
|
||||
./test.sh -f unique/stable/replica3_vnode3.sim
|
||||
|
||||
./test.sh -f unique/mnode/mgmt22.sim
|
||||
./test.sh -f unique/mnode/mgmt23.sim
|
||||
./test.sh -f unique/mnode/mgmt24.sim
|
||||
./test.sh -f unique/mnode/mgmt25.sim
|
||||
./test.sh -f unique/mnode/mgmt26.sim
|
||||
./test.sh -f unique/mnode/mgmt33.sim
|
||||
./test.sh -f unique/mnode/mgmt34.sim
|
||||
./test.sh -f unique/mnode/mgmtr2.sim
|
||||
|
||||
./test.sh -f unique/vnode/many.sim
|
||||
./test.sh -f unique/vnode/replica2_basic2.sim
|
||||
./test.sh -f unique/vnode/replica2_repeat.sim
|
||||
./test.sh -f unique/vnode/replica3_basic.sim
|
||||
./test.sh -f unique/vnode/replica3_repeat.sim
|
||||
./test.sh -f unique/vnode/replica3_vgroup.sim
|
||||
|
|
|
@ -57,23 +57,21 @@ run_back unique/vnode/back_insert_many.sim
|
|||
sleep 5000
|
||||
|
||||
print ======== step3
|
||||
system sh/exec.sh -n dnode2 -s stop
|
||||
sleep 5000
|
||||
|
||||
$x = 0
|
||||
loop:
|
||||
|
||||
print ======== step4
|
||||
system sh/exec.sh -n dnode2 -s start
|
||||
sleep 5000
|
||||
system sh/exec.sh -n dnode3 -s stop
|
||||
sleep 5000
|
||||
system sh/exec.sh -n dnode3 -s start
|
||||
sleep 5000
|
||||
|
||||
print ======== step5
|
||||
system sh/exec.sh -n dnode3 -s start
|
||||
sleep 5000
|
||||
system sh/exec.sh -n dnode2 -s stop
|
||||
sleep 5000
|
||||
system sh/exec.sh -n dnode2 -s start
|
||||
sleep 5000
|
||||
|
||||
print ======== step6
|
||||
sql select count(*) from db1.tb1
|
||||
|
|
|
@ -138,25 +138,25 @@ sleep 5000
|
|||
#sql insert into d3.t3 values(now, 3)
|
||||
#sql insert into d4.t4 values(now, 3)
|
||||
|
||||
sql select * from d1.t1
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d1.t1
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
sql select * from d2.t2
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d2.t2
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
sql select * from d3.t3
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d3.t3
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
sql select * from d4.t4
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d4.t4
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
print ========= step4
|
||||
system sh/exec.sh -n dnode2 -s start
|
||||
|
@ -169,25 +169,25 @@ sleep 5000
|
|||
#sql insert into d3.t3 values(now, 4)
|
||||
#sql insert into d4.t4 values(now, 4)
|
||||
|
||||
sql select * from d1.t1
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d1.t1
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
sql select * from d2.t2
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d2.t2
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
sql select * from d3.t3
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d3.t3
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
sql select * from d4.t4
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
#sql select * from d4.t4
|
||||
#if $rows != 2 then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
print ========= step5
|
||||
system sh/exec.sh -n dnode3 -s start
|
||||
|
|
|
@ -37,22 +37,20 @@ run_back unique/vnode/back_insert.sim
|
|||
sleep 3000
|
||||
|
||||
print ======== step3
|
||||
system sh/exec.sh -n dnode2 -s stop
|
||||
sleep 5000
|
||||
|
||||
$x = 0
|
||||
loop:
|
||||
|
||||
print ======== step4
|
||||
system sh/exec.sh -n dnode2 -s start
|
||||
system sh/exec.sh -n dnode2 -s stop
|
||||
sleep 5000
|
||||
system sh/exec.sh -n dnode3 -s stop
|
||||
system sh/exec.sh -n dnode2 -s start
|
||||
sleep 5000
|
||||
|
||||
print ======== step5
|
||||
system sh/exec.sh -n dnode3 -s start
|
||||
system sh/exec.sh -n dnode3 -s stop
|
||||
sleep 5000
|
||||
system sh/exec.sh -n dnode2 -s stop
|
||||
system sh/exec.sh -n dnode3 -s start
|
||||
sleep 5000
|
||||
|
||||
print ======== step6
|
||||
|
|
Loading…
Reference in New Issue