mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
pacemaker unit test: passing null with UTHelper (#9858)
This commit is contained in:
@@ -22,7 +22,7 @@ test_cases:
|
|||||||
- "ip=[192.168.2.1]"
|
- "ip=[192.168.2.1]"
|
||||||
output:
|
output:
|
||||||
changed: true
|
changed: true
|
||||||
previous_value:
|
previous_value: null
|
||||||
value: " * virtual-ip\t(ocf:heartbeat:IPAddr2):\t Started"
|
value: " * virtual-ip\t(ocf:heartbeat:IPAddr2):\t Started"
|
||||||
mocks:
|
mocks:
|
||||||
run_command:
|
run_command:
|
||||||
@@ -76,8 +76,8 @@ test_cases:
|
|||||||
name: virtual-ip
|
name: virtual-ip
|
||||||
output:
|
output:
|
||||||
changed: false
|
changed: false
|
||||||
previous_value:
|
previous_value: null
|
||||||
value:
|
value: null
|
||||||
mocks:
|
mocks:
|
||||||
run_command:
|
run_command:
|
||||||
- command: [/testbin/pcs, resource, status, virtual-ip]
|
- command: [/testbin/pcs, resource, status, virtual-ip]
|
||||||
@@ -102,7 +102,7 @@ test_cases:
|
|||||||
output:
|
output:
|
||||||
changed: true
|
changed: true
|
||||||
previous_value: " * virtual-ip\t(ocf:heartbeat:IPAddr2):\t Started"
|
previous_value: " * virtual-ip\t(ocf:heartbeat:IPAddr2):\t Started"
|
||||||
value:
|
value: null
|
||||||
mocks:
|
mocks:
|
||||||
run_command:
|
run_command:
|
||||||
- command: [/testbin/pcs, resource, status, virtual-ip]
|
- command: [/testbin/pcs, resource, status, virtual-ip]
|
||||||
|
|||||||
Reference in New Issue
Block a user