From 02135d52785ae53007eac5b43c62858163cd020a Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Tue, 5 Jun 2018 07:37:24 -0400 Subject: Nxos test reorganize (#41089) * Remove local from most cli tests * Readd local tests to nxapi until httpapi passes --- test/integration/targets/nxos_ospf/tasks/nxapi.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/integration/targets/nxos_ospf/tasks/nxapi.yaml') diff --git a/test/integration/targets/nxos_ospf/tasks/nxapi.yaml b/test/integration/targets/nxos_ospf/tasks/nxapi.yaml index 653bcfefe9..04c99602e6 100644 --- a/test/integration/targets/nxos_ospf/tasks/nxapi.yaml +++ b/test/integration/targets/nxos_ospf/tasks/nxapi.yaml @@ -21,7 +21,13 @@ set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - name: run test cases (connection=httpapi) - include: "{{ test_case_to_run }} ansible_connection=httpapi" + include: "{{ test_case_to_run }} ansible_connection=httpapi connection={{ nxapi }}" + with_items: "{{ test_items }}" + loop_control: + loop_var: test_case_to_run + +- name: run test cases (connection=local) + include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run -- cgit v1.2.3