mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-10 12:40:31 -07:00
[PR #9858/710dc5df backport][stable-10] pacemaker unit test: passing null with UTHelper (#9868)
pacemaker unit test: passing null with UTHelper (#9858)
(cherry picked from commit 710dc5df86
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
e899631137
commit
8859379bed
1 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ test_cases:
|
|||
- "ip=[192.168.2.1]"
|
||||
output:
|
||||
changed: true
|
||||
previous_value:
|
||||
previous_value: null
|
||||
value: " * virtual-ip\t(ocf:heartbeat:IPAddr2):\t Started"
|
||||
mocks:
|
||||
run_command:
|
||||
|
@ -76,8 +76,8 @@ test_cases:
|
|||
name: virtual-ip
|
||||
output:
|
||||
changed: false
|
||||
previous_value:
|
||||
value:
|
||||
previous_value: null
|
||||
value: null
|
||||
mocks:
|
||||
run_command:
|
||||
- command: [/testbin/pcs, resource, status, virtual-ip]
|
||||
|
@ -102,7 +102,7 @@ test_cases:
|
|||
output:
|
||||
changed: true
|
||||
previous_value: " * virtual-ip\t(ocf:heartbeat:IPAddr2):\t Started"
|
||||
value:
|
||||
value: null
|
||||
mocks:
|
||||
run_command:
|
||||
- command: [/testbin/pcs, resource, status, virtual-ip]
|
||||
|
|
Loading…
Add table
Reference in a new issue