From 0e8cc317992ddb6ff4311d470c36829c795a8e8c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 11 Aug 2020 10:39:43 +0200 Subject: [PATCH] docker_stack_task_info tests: add delay to make sure task is running (#765) --- .../docker_stack_task_info/tasks/test_stack_task_info.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/targets/docker_stack_task_info/tasks/test_stack_task_info.yml b/tests/integration/targets/docker_stack_task_info/tasks/test_stack_task_info.yml index 024f498660..8110c25945 100644 --- a/tests/integration/targets/docker_stack_task_info/tasks/test_stack_task_info.yml +++ b/tests/integration/targets/docker_stack_task_info/tasks/test_stack_task_info.yml @@ -56,6 +56,10 @@ that: - output is changed + - name: Wait a bit to make sure stack is running + pause: + seconds: 5 + - name: Get docker_stack_info when docker is running docker_stack_info: register: output