提交 891fb2f2 编写于 作者: G Ganlin Zhao

fix monitor test cases

上级 5d714aa9
...@@ -42,7 +42,7 @@ print dnode2 openVnodes $data2_2 ...@@ -42,7 +42,7 @@ print dnode2 openVnodes $data2_2
if $data2_1 != 0 then if $data2_1 != 0 then
return -1 return -1
endi endi
if $data2_2 != 1 then if $data2_2 != 2 then
return -1 return -1
endi endi
...@@ -56,7 +56,25 @@ print $data30 ...@@ -56,7 +56,25 @@ print $data30
print $data40 print $data40
print $data50 print $data50
if $rows > 6 then print *num of tables $rows
if $rows > 17 then
return -1
endi
sql show log.stables
print $data00
print $data10
print $data20
print $data30
print $data40
print $data50
print $data60
print *num of stables $rows
if $rows > 7 then
return -1 return -1
endi endi
...@@ -87,6 +105,7 @@ $rows2 = $rows ...@@ -87,6 +105,7 @@ $rows2 = $rows
if $rows2 <= $rows1 then if $rows2 <= $rows1 then
return -1 return -1
endi endi
return
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode2 -s stop -x SIGINT system sh/exec.sh -n dnode2 -s stop -x SIGINT
...@@ -19,7 +19,7 @@ sleep 3000 ...@@ -19,7 +19,7 @@ sleep 3000
sql show dnodes sql show dnodes
print dnode1 openVnodes $data2_1 print dnode1 openVnodes $data2_1
if $data2_1 > 2 then if $data2_1 > 4 then
return -1 return -1
endi endi
...@@ -41,7 +41,7 @@ print dnode2 openVnodes $data2_2 ...@@ -41,7 +41,7 @@ print dnode2 openVnodes $data2_2
if $data2_1 != 0 then if $data2_1 != 0 then
goto show2 goto show2
endi endi
if $data2_2 > 2 then if $data2_2 > 4 then
goto show2 goto show2
endi endi
...@@ -55,7 +55,7 @@ print $data30 ...@@ -55,7 +55,7 @@ print $data30
print $data40 print $data40
print $data50 print $data50
if $rows > 5 then if $rows > 14 then
return -1 return -1
endi endi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册