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
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- custom_binary_producing_json:
|
- block:
|
||||||
async: 100
|
- custom_binary_producing_json_Darwin:
|
||||||
poll: 0
|
async: 100
|
||||||
register: job
|
poll: 0
|
||||||
|
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:
|
- assert:
|
||||||
that: |
|
that: |
|
||||||
|
|
|
@ -5,10 +5,21 @@
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- custom_binary_producing_junk:
|
- block:
|
||||||
async: 100
|
- custom_binary_producing_junk_Darwin:
|
||||||
poll: 0
|
async: 100
|
||||||
register: job
|
poll: 0
|
||||||
|
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
|
- shell: sleep 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue