Fix order integration test.

Previously the test always passed due to invoking cleanup on failure.
pull/55795/head
Matt Clay 6 years ago
parent 05fcb8502f
commit 03b2986227

@ -19,6 +19,6 @@ for EXTRA in '{"inputlist": ["hostB", "hostA", "hostD", "hostC"]}' \
'{"myorder": "shuffle", "inputlist": ["hostC", "hostD", "hostA", "hostB"]}' '{"myorder": "shuffle", "inputlist": ["hostC", "hostD", "hostA", "hostB"]}'
do do
cleanup cleanup
ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@" || cleanup ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@"
done done
cleanup cleanup

Loading…
Cancel
Save