From b85bcd7abf9ce6e7a9f9c33c4ca69417c1e66428 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 12 Jul 2022 10:04:15 -0700 Subject: [PATCH] Fix module_utils_common.respawn test. (#78248) The respawn failure can be returned on either stdout or stderr. --- .../targets/module_utils_common.respawn/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/module_utils_common.respawn/tasks/main.yml b/test/integration/targets/module_utils_common.respawn/tasks/main.yml index 246c8f747d8..50178df28d5 100644 --- a/test/integration/targets/module_utils_common.respawn/tasks/main.yml +++ b/test/integration/targets/module_utils_common.respawn/tasks/main.yml @@ -21,4 +21,4 @@ # ensure that the respawned interpreter is not the same as the default - default_python.interpreter_path != respawned_python.interpreter_path # multiple nested respawns should fail - - multi_respawn is failed and multi_respawn.module_stderr is search('has already been respawned') + - multi_respawn is failed and (multi_respawn.module_stdout + multi_respawn.module_stderr) is search('has already been respawned')