mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Update async task timeouts to hopefully fix unit test that occasionally fails.
This commit is contained in:
parent
013af19be4
commit
f4e9b9ce64
@ -46,7 +46,7 @@ TEST_ASYNC_OK_PLAYBOOK = '''
|
|||||||
tasks:
|
tasks:
|
||||||
- name: async task should pass
|
- name: async task should pass
|
||||||
command: sleep 4
|
command: sleep 4
|
||||||
async: 8
|
async: 16
|
||||||
poll: 1
|
poll: 1
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -55,8 +55,8 @@ TEST_ASYNC_FAIL_PLAYBOOK = '''
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: async task should fail
|
- name: async task should fail
|
||||||
shell: sleep 6; test 1 = 0
|
shell: sleep 4; test 1 = 0
|
||||||
async: 8
|
async: 16
|
||||||
poll: 1
|
poll: 1
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ TEST_ASYNC_TIMEOUT_PLAYBOOK = '''
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: async task should timeout
|
- name: async task should timeout
|
||||||
command: sleep 12
|
command: sleep 16
|
||||||
async: 8
|
async: 8
|
||||||
poll: 1
|
poll: 1
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user