mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Increase win_async_wrapper fire and forget time check for more stabilisation
This commit is contained in:
parent
3750c3a4d9
commit
2aaa1694ab
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
- name: async fire and forget
|
||||
async_test:
|
||||
sleep_delay_sec: 10
|
||||
sleep_delay_sec: 15
|
||||
async: 20
|
||||
poll: 0
|
||||
register: asyncresult
|
||||
|
@ -18,7 +18,7 @@
|
|||
- asyncresult is not finished
|
||||
- asyncresult.results_file is search('\.ansible_async.+\d+\.\d+')
|
||||
# ensure that async is actually async- this test will fail if # hosts > forks or if the target host is VERY slow
|
||||
- (lookup('pipe', 'date +%s') | int) - (start_timestamp | int) < 8
|
||||
- (lookup('pipe', 'date +%s') | int) - (start_timestamp | int) < 15
|
||||
|
||||
- name: async poll immediate success
|
||||
async_test:
|
||||
|
|
Loading…
Reference in a new issue