issue #164: stop tests on first failure

pull/193/head
David Wilson 7 years ago
parent 26cc0f2724
commit c5ca2e87ea

@ -1,6 +1,7 @@
# Verify the behaviour of _low_level_execute_command(). # Verify the behaviour of _low_level_execute_command().
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/action__low_level_execute_command.yml - name: integration/action__low_level_execute_command.yml
assert: assert:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: simulate long running op (3 sec), wait for up to 5 sec, poll every 1 sec - name: simulate long running op (3 sec), wait for up to 5 sec, poll every 1 sec
command: /bin/sleep 2 command: /bin/sleep 2

@ -5,6 +5,7 @@
# #
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: "without -E" - name: "without -E"
become: true become: true
@ -15,6 +16,7 @@
that: "out.stdout == ''" that: "out.stdout == ''"
- hosts: all - hosts: all
any_errors_fatal: true
become_flags: -E become_flags: -E
tasks: tasks:
- name: "with -E" - name: "with -E"

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
# #
# delegate_to, no sudo # delegate_to, no sudo

@ -1,6 +1,7 @@
# Ensure environment: is preserved during call. # Ensure environment: is preserved during call.
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- shell: echo $SOME_ENV - shell: echo $SOME_ENV
environment: environment:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
gather_facts: true gather_facts: true
tasks: tasks:
- name: integration/runner__builtin_command_module.yml - name: integration/runner__builtin_command_module.yml

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_bash_old_style_module.yml - name: integration/runner__custom_bash_old_style_module.yml
custom_bash_old_style_module: custom_bash_old_style_module:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_bash_want_json_module.yml - name: integration/runner__custom_bash_want_json_module.yml
custom_bash_want_json_module: custom_bash_want_json_module:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_binary_producing_json.yml - name: integration/runner__custom_binary_producing_json.yml
custom_binary_producing_json: custom_binary_producing_json:

@ -7,6 +7,10 @@
ignore_errors: true ignore_errors: true
register: out register: out
- hosts: all
any_errors_fatal: true
tasks:
- assert: - assert:
that: | that: |
out.failed and out.failed and

@ -7,6 +7,9 @@
ignore_errors: true ignore_errors: true
register: out register: out
- hosts: all
any_errors_fatal: true
tasks:
- assert: - assert:
that: | that: |
out.failed and out.failed and

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_perl_json_args_module.yml - name: integration/runner__custom_perl_json_args_module.yml
custom_perl_json_args_module: custom_perl_json_args_module:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_perl_want_json_module.yml - name: integration/runner__custom_perl_want_json_module.yml
custom_perl_want_json_module: custom_perl_want_json_module:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_python_json_args_module.yml - name: integration/runner__custom_python_json_args_module.yml
custom_python_json_args_module: custom_python_json_args_module:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_python_new_style_module.yml - name: integration/runner__custom_python_new_style_module.yml
custom_python_new_style_module: custom_python_new_style_module:

@ -1,4 +1,5 @@
- hosts: all - hosts: all
any_errors_fatal: true
tasks: tasks:
- name: integration/runner__custom_python_want_json_module.yml - name: integration/runner__custom_python_want_json_module.yml
custom_python_want_json_module: custom_python_want_json_module:

@ -4,6 +4,7 @@
# remotely. # remotely.
# #
- hosts: all - hosts: all
any_errors_fatal: true
gather_facts: true gather_facts: true
tasks: tasks:
- name: integration/runner__remote_tmp.yml - name: integration/runner__remote_tmp.yml

Loading…
Cancel
Save