test: rollback case
This commit is contained in:
parent
752e2a3e37
commit
629800e43e
|
@ -207,10 +207,10 @@ sql drop dnode 3
|
|||
sql show dnodes
|
||||
print dnode1 openVnodes $data(1)[2]
|
||||
print dnode2 openVnodes $data(4)[2]
|
||||
if $data(1)[2] != 1 then
|
||||
if $data(1)[2] != 2 then
|
||||
return -1
|
||||
endi
|
||||
if $data(4)[2] != 3 then
|
||||
if $data(4)[2] != 2 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
|
|
@ -167,10 +167,10 @@ endi
|
|||
if $data(3)[2] != 3 then
|
||||
return -1
|
||||
endi
|
||||
if $data(4)[2] != 3 then
|
||||
if $data(4)[2] != 4 then
|
||||
return -1
|
||||
endi
|
||||
if $data(5)[2] != 4 then
|
||||
if $data(5)[2] != 3 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ print dnode3 openVnodes $data(3)[2]
|
|||
print dnode4 openVnodes $data(4)[2]
|
||||
print dnode5 openVnodes $data(5)[2]
|
||||
print dnode5 openVnodes $data(6)[2]
|
||||
if $data(1)[2] != 1 then
|
||||
if $data(1)[2] != 2 then
|
||||
return -1
|
||||
endi
|
||||
if $data(3)[2] != null then
|
||||
|
@ -321,7 +321,7 @@ endi
|
|||
if $data(5)[2] != 3 then
|
||||
return -1
|
||||
endi
|
||||
if $data(6)[2] != 3 then
|
||||
if $data(6)[2] != 2 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
|
Loading…
Reference in New Issue