9f026309a6
* Add nxos_install_os integration tests * Update call to check timers * Update check_ansible_timer method * Modify network_cli integration tests * Add timer check for nxos_install_os * Add comments for clear_persistent_sockets * Update connection info for tests * More updates * Restructure files for provider and non-provider testing * Update env var name and add check for ISSU switchover
16 lines
501 B
YAML
16 lines
501 B
YAML
---
|
|
- name: collect common test cases
|
|
find:
|
|
paths: "{{ role_path }}/tests/common"
|
|
patterns: "{{ testcase }}.yaml"
|
|
connection: local
|
|
register: test_cases
|
|
|
|
- name: set test_items
|
|
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
|
|
|
- name: run test cases (ansible_connection=local transport=nxapi)
|
|
include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}"
|
|
with_items: "{{ test_items }}"
|
|
loop_control:
|
|
loop_var: test_case_to_run
|