提交 629800e4 编写于 作者: S Shengliang Guan

test: rollback case

上级 752e2a3e
...@@ -207,10 +207,10 @@ sql drop dnode 3 ...@@ -207,10 +207,10 @@ sql drop dnode 3
sql show dnodes sql show dnodes
print dnode1 openVnodes $data(1)[2] print dnode1 openVnodes $data(1)[2]
print dnode2 openVnodes $data(4)[2] print dnode2 openVnodes $data(4)[2]
if $data(1)[2] != 1 then if $data(1)[2] != 2 then
return -1 return -1
endi endi
if $data(4)[2] != 3 then if $data(4)[2] != 2 then
return -1 return -1
endi endi
......
...@@ -167,10 +167,10 @@ endi ...@@ -167,10 +167,10 @@ endi
if $data(3)[2] != 3 then if $data(3)[2] != 3 then
return -1 return -1
endi endi
if $data(4)[2] != 3 then if $data(4)[2] != 4 then
return -1 return -1
endi endi
if $data(5)[2] != 4 then if $data(5)[2] != 3 then
return -1 return -1
endi endi
......
...@@ -309,7 +309,7 @@ print dnode3 openVnodes $data(3)[2] ...@@ -309,7 +309,7 @@ print dnode3 openVnodes $data(3)[2]
print dnode4 openVnodes $data(4)[2] print dnode4 openVnodes $data(4)[2]
print dnode5 openVnodes $data(5)[2] print dnode5 openVnodes $data(5)[2]
print dnode5 openVnodes $data(6)[2] print dnode5 openVnodes $data(6)[2]
if $data(1)[2] != 1 then if $data(1)[2] != 2 then
return -1 return -1
endi endi
if $data(3)[2] != null then if $data(3)[2] != null then
...@@ -321,7 +321,7 @@ endi ...@@ -321,7 +321,7 @@ endi
if $data(5)[2] != 3 then if $data(5)[2] != 3 then
return -1 return -1
endi endi
if $data(6)[2] != 3 then if $data(6)[2] != 2 then
return -1 return -1
endi endi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册