From 03b29862270b910112019f32c4d2a097332672c3 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 25 Apr 2019 22:25:24 -0700 Subject: [PATCH] Fix order integration test. Previously the test always passed due to invoking cleanup on failure. --- test/integration/targets/order/runme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/order/runme.sh b/test/integration/targets/order/runme.sh index fdcdc33369..9a01c21153 100755 --- a/test/integration/targets/order/runme.sh +++ b/test/integration/targets/order/runme.sh @@ -19,6 +19,6 @@ for EXTRA in '{"inputlist": ["hostB", "hostA", "hostD", "hostC"]}' \ '{"myorder": "shuffle", "inputlist": ["hostC", "hostD", "hostA", "hostB"]}' do cleanup - ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@" || cleanup + ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@" done cleanup