Increase win_async_wrapper fire and forget time check for more stabilisation

This commit is contained in:
Jordan Borean 2018-08-06 11:30:49 +10:00
parent 3750c3a4d9
commit 2aaa1694ab
No known key found for this signature in database
GPG key ID: 2AAC89085FBBDAB5

View file

@ -4,7 +4,7 @@
- name: async fire and forget - name: async fire and forget
async_test: async_test:
sleep_delay_sec: 10 sleep_delay_sec: 15
async: 20 async: 20
poll: 0 poll: 0
register: asyncresult register: asyncresult
@ -18,7 +18,7 @@
- asyncresult is not finished - asyncresult is not finished
- asyncresult.results_file is search('\.ansible_async.+\d+\.\d+') - 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 # 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 - name: async poll immediate success
async_test: async_test: