Skip to content

Commit ea04de7

Browse files
committed
Dev: testcases: Adjust the testcases for previous changes
1 parent 7b659e5 commit ea04de7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/testcases/ra.exp

+14-14
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,37 @@ heartbeat
77
heartbeat pacemaker
88
.INP: info ocf:pacemaker:Dummy
99
.EXT crm_resource --show-metadata ocf:pacemaker:Dummy
10-
Example stateless resource agent (ocf:pacemaker:Dummy)
10+
ocf:pacemaker:Dummy - Example stateless resource agent
1111

1212
This is a dummy OCF resource agent. It does absolutely nothing except keep track
1313
of whether it is running or not, and can be configured so that actions fail or
1414
take a long time. Its purpose is primarily for testing, and to serve as a
1515
template for resource agent writers.
1616

17-
Parameters (*: required, []: default):
17+
## Parameters (type, [default]):
1818

19-
state (string, [state-file]): State file
20-
Location to store the resource state in.
19+
envfile (string): Environment dump file
20+
If this is set, the environment will be dumped to this file for every call.
2121

22-
passwd (string): Password
23-
Fake password field
22+
fail_start_on (string): Report bogus start failure on specified host
23+
Start, migrate_from, and reload-agent actions will return failure if running on
24+
the host specified here, but the resource will run successfully anyway (future
25+
monitor calls will find it running). This can be used to test on-fail=ignore.
2426

25-
fake (string, [dummy]):
27+
fake (string, [dummy]): Fake attribute that can be changed to cause an agent reload
2628
Fake attribute that can be changed to cause an agent reload
2729

2830
op_sleep (string, [0]): Operation sleep duration in seconds.
2931
Number of seconds to sleep during operations. This can be used to test how
3032
the cluster reacts to operation timeouts.
3133

32-
fail_start_on (string): Report bogus start failure on specified host
33-
Start, migrate_from, and reload-agent actions will return failure if running on
34-
the host specified here, but the resource will run successfully anyway (future
35-
monitor calls will find it running). This can be used to test on-fail=ignore.
34+
passwd (string): Password
35+
Fake password field
3636

37-
envfile (string): Environment dump file
38-
If this is set, the environment will be dumped to this file for every call.
37+
state (string, [state-file]): State file
38+
Location to store the resource state in.
3939

40-
Operations' defaults (advisory minimum):
40+
## Operations' defaults (advisory minimum):
4141

4242
start timeout=20s
4343
stop timeout=20s

0 commit comments

Comments
 (0)