tests: import custom binaries for tests
Same for async tests.
This commit is contained in:
parent
dfb4930fce
commit
21a7aac220
|
@ -5,10 +5,21 @@
|
|||
any_errors_fatal: true
|
||||
tasks:
|
||||
|
||||
- custom_binary_producing_json:
|
||||
- block:
|
||||
- custom_binary_producing_json_Darwin:
|
||||
async: 100
|
||||
poll: 0
|
||||
register: job
|
||||
register: job_darwin
|
||||
- set_fact: job={{job_darwin}}
|
||||
when: ansible_system == "Darwin"
|
||||
|
||||
- block:
|
||||
- custom_binary_producing_json_Linux:
|
||||
async: 100
|
||||
poll: 0
|
||||
register: job_linux
|
||||
- set_fact: job={{job_linux}}
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
- assert:
|
||||
that: |
|
||||
|
|
|
@ -5,10 +5,21 @@
|
|||
any_errors_fatal: true
|
||||
tasks:
|
||||
|
||||
- custom_binary_producing_junk:
|
||||
- block:
|
||||
- custom_binary_producing_junk_Darwin:
|
||||
async: 100
|
||||
poll: 0
|
||||
register: job
|
||||
register: job_darwin
|
||||
- set_fact: job={{job_darwin}}
|
||||
when: ansible_system == "Darwin"
|
||||
|
||||
- block:
|
||||
- custom_binary_producing_junk_Linux:
|
||||
async: 100
|
||||
poll: 0
|
||||
register: job_linux
|
||||
- set_fact: job={{job_linux}}
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
- shell: sleep 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue