fix offline_reason.sim
This commit is contained in:
parent
a063d69890
commit
f0e23812a1
|
@ -8,10 +8,10 @@ sql connect
|
||||||
sql create dnode $hostname port 7200
|
sql create dnode $hostname port 7200
|
||||||
|
|
||||||
sql select * from information_schema.ins_dnodes
|
sql select * from information_schema.ins_dnodes
|
||||||
print dnode1 off: $data(1)[6]
|
print dnode1 off: $data(1)[7]
|
||||||
print dnode2 off: $data(2)[6]
|
print dnode2 off: $data(2)[7]
|
||||||
|
|
||||||
if $data(2)[6] != @status not received@ then
|
if $data(2)[7] != @status not received@ then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -50,9 +50,9 @@ step3:
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
sql select * from information_schema.ins_dnodes
|
sql select * from information_schema.ins_dnodes
|
||||||
print dnode1 off: $data(1)[6]
|
print dnode1 off: $data(1)[7]
|
||||||
print dnode2 off: $data(2)[6]
|
print dnode2 off: $data(2)[7]
|
||||||
if $data(2)[6] != @status msg timeout@ then
|
if $data(2)[7] != @status msg timeout@ then
|
||||||
goto step3
|
goto step3
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -77,9 +77,9 @@ step5:
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql select * from information_schema.ins_dnodes
|
sql select * from information_schema.ins_dnodes
|
||||||
print dnode1 off: $data(1)[6]
|
print dnode1 off: $data(1)[7]
|
||||||
print dnode2 off: $data(3)[6]
|
print dnode2 off: $data(3)[7]
|
||||||
if $data(3)[6] != @dnodeId not match@ then
|
if $data(3)[7] != @dnodeId not match@ then
|
||||||
goto step5
|
goto step5
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -98,10 +98,10 @@ step6:
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql select * from information_schema.ins_dnodes
|
sql select * from information_schema.ins_dnodes
|
||||||
print dnode1 off: $data(1)[6]
|
print dnode1 off: $data(1)[7]
|
||||||
print dnode2 off: $data(3)[6]
|
print dnode2 off: $data(3)[7]
|
||||||
print dnode3 off: $data(4)[6]
|
print dnode3 off: $data(4)[67
|
||||||
if $data(4)[6] != @interval not match@ then
|
if $data(4)[7] != @interval not match@ then
|
||||||
goto step6
|
goto step6
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -120,11 +120,11 @@ step7:
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql select * from information_schema.ins_dnodes
|
sql select * from information_schema.ins_dnodes
|
||||||
print dnode1 off: $data(1)[6]
|
print dnode1 off: $data(1)[7]
|
||||||
print dnode3 off: $data(3)[6]
|
print dnode3 off: $data(3)[7]
|
||||||
print dnode4 off: $data(4)[6]
|
print dnode4 off: $data(4)[7]
|
||||||
print dnode5 off: $data(5)[6]
|
print dnode5 off: $data(5)[7]
|
||||||
if $data(5)[6] != @locale not match@ then
|
if $data(5)[7] != @locale not match@ then
|
||||||
goto step7
|
goto step7
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -143,12 +143,12 @@ step8:
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql select * from information_schema.ins_dnodes
|
sql select * from information_schema.ins_dnodes
|
||||||
print dnode1 off: $data(1)[6]
|
print dnode1 off: $data(1)[7]
|
||||||
print dnode3 off: $data(3)[6]
|
print dnode3 off: $data(3)[7]
|
||||||
print dnode4 off: $data(4)[6]
|
print dnode4 off: $data(4)[7]
|
||||||
print dnode5 off: $data(5)[6]
|
print dnode5 off: $data(5)[7]
|
||||||
print dnode6 off: $data(6)[6]
|
print dnode6 off: $data(6)[7]
|
||||||
if $data(6)[6] != @charset not match@ then
|
if $data(6)[7] != @charset not match@ then
|
||||||
goto step8
|
goto step8
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue