Skip to content

Commit

Permalink
Dev: testcases: Adjust testcases for previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxin1300 committed Dec 12, 2023
1 parent e39242e commit e0c7d93
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/testcases/confbasic-xml.exp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<operations>
<op name="start" timeout="60s" interval="0s" id="d2-start-0s"/>
<op name="stop" timeout="60s" interval="0s" id="d2-stop-0s"/>
<op name="monitor" timeout="30s" interval="10s" id="d2-monitor-10s"/>
<op name="monitor" timeout="40s" interval="10s" id="d2-monitor-10s"/>
<op name="monitor" role="Started" interval="60s" timeout="30s" id="d2-monitor-60s"/>
</operations>
</primitive>
Expand Down
2 changes: 1 addition & 1 deletion test/testcases/confbasic.exp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ primitive d2 Delay \
params mondelay=45 \
op start timeout=60s interval=0s \
op stop timeout=60s interval=0s \
op monitor timeout=30s interval=10s \
op monitor timeout=40s interval=10s \
op monitor role=Started interval=60s timeout=30s
primitive d3 ocf:pacemaker:Dummy \
op monitor timeout=20s interval=10s \
Expand Down
8 changes: 4 additions & 4 deletions test/testcases/file.exp
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ primitive p1 ocf:pacemaker:Dummy \
op stop timeout=20s interval=0s
primitive p2 Delay \
params startdelay=2 mondelay=2 stopdelay=2 \
op monitor timeout=30s interval=10s \
op monitor timeout=40s interval=10s \
op start timeout=30s interval=0s \
op stop timeout=30s interval=0s
op stop timeout=40s interval=0s
primitive p3 ocf:pacemaker:Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
Expand Down Expand Up @@ -56,9 +56,9 @@ primitive p0 ocf:pacemaker:Dummy \
op stop timeout=20s interval=0s
primitive p2 Delay \
params startdelay=2 mondelay=2 stopdelay=2 \
op monitor timeout=30s interval=10s \
op monitor timeout=40s interval=10s \
op start timeout=30s interval=0s \
op stop timeout=30s interval=0s
op stop timeout=40s interval=0s
primitive p3 ocf:pacemaker:Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
Expand Down
8 changes: 4 additions & 4 deletions test/testcases/resource.exp
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ resource p0 is NOT running
<nvpair name="stopdelay" value="2" id="p2-instance_attributes-stopdelay"/>
</instance_attributes>
<operations>
<op name="monitor" timeout="30s" interval="10s" id="p2-monitor-10s"/>
<op name="monitor" timeout="40s" interval="10s" id="p2-monitor-10s"/>
<op name="start" timeout="30s" interval="0s" id="p2-start-0s"/>
<op name="stop" timeout="30s" interval="0s" id="p2-stop-0s"/>
<op name="stop" timeout="40s" interval="0s" id="p2-stop-0s"/>
</operations>
</primitive>
</clone>
Expand Down Expand Up @@ -167,9 +167,9 @@ resource p0 is NOT running
<nvpair name="stopdelay" value="2" id="p2-instance_attributes-stopdelay"/>
</instance_attributes>
<operations>
<op name="monitor" timeout="30s" interval="10s" id="p2-monitor-10s"/>
<op name="monitor" timeout="40s" interval="10s" id="p2-monitor-10s"/>
<op name="start" timeout="30s" interval="0s" id="p2-start-0s"/>
<op name="stop" timeout="30s" interval="0s" id="p2-stop-0s"/>
<op name="stop" timeout="40s" interval="0s" id="p2-stop-0s"/>
</operations>
</primitive>
</clone>
Expand Down

0 comments on commit e0c7d93

Please sign in to comment.