From f4e9b9ce6417f805562c41d8a0487e082710c7d6 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Thu, 21 Nov 2013 11:16:11 -0500 Subject: [PATCH] Update async task timeouts to hopefully fix unit test that occasionally fails. --- awx/main/tests/tasks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/main/tests/tasks.py b/awx/main/tests/tasks.py index 9f8e59b427..fbe94ef2be 100644 --- a/awx/main/tests/tasks.py +++ b/awx/main/tests/tasks.py @@ -46,7 +46,7 @@ TEST_ASYNC_OK_PLAYBOOK = ''' tasks: - name: async task should pass command: sleep 4 - async: 8 + async: 16 poll: 1 ''' @@ -55,8 +55,8 @@ TEST_ASYNC_FAIL_PLAYBOOK = ''' gather_facts: false tasks: - name: async task should fail - shell: sleep 6; test 1 = 0 - async: 8 + shell: sleep 4; test 1 = 0 + async: 16 poll: 1 ''' @@ -65,7 +65,7 @@ TEST_ASYNC_TIMEOUT_PLAYBOOK = ''' gather_facts: false tasks: - name: async task should timeout - command: sleep 12 + command: sleep 16 async: 8 poll: 1 '''