From 315434f676a76aaf5638cb8c9d265dc75a5ef401 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 24 Jan 2019 20:04:22 -0800 Subject: [PATCH] Enable force_handlers for integration tests. --- test/integration/integration.cfg | 3 +++ test/integration/network-integration.cfg | 3 +++ test/integration/windows-integration.cfg | 3 +++ 3 files changed, 9 insertions(+) diff --git a/test/integration/integration.cfg b/test/integration/integration.cfg index e69de29bb2..f0ce19704b 100644 --- a/test/integration/integration.cfg +++ b/test/integration/integration.cfg @@ -0,0 +1,3 @@ +[defaults] +# allow cleanup handlers to run when tests fail +force_handlers = True diff --git a/test/integration/network-integration.cfg b/test/integration/network-integration.cfg index ca29c1839f..c75544c04e 100644 --- a/test/integration/network-integration.cfg +++ b/test/integration/network-integration.cfg @@ -5,6 +5,9 @@ host_key_checking = False log_path = /tmp/ansible-test.out +# allow cleanup handlers to run when tests fail +force_handlers = True + [ssh_connection] ssh_args = '-o UserKnownHostsFile=/dev/null' diff --git a/test/integration/windows-integration.cfg b/test/integration/windows-integration.cfg index e69de29bb2..f0ce19704b 100644 --- a/test/integration/windows-integration.cfg +++ b/test/integration/windows-integration.cfg @@ -0,0 +1,3 @@ +[defaults] +# allow cleanup handlers to run when tests fail +force_handlers = True