From b13e5242e0cacea4309788760e09e95d4ddc64df Mon Sep 17 00:00:00 2001 From: Kevin Breit Date: Wed, 12 Jun 2019 09:28:09 -0500 Subject: [PATCH] meraki_mr_l3_firewall - Fix integration test cleanup (#57562) --- .../53600-meraki_mr_l3_firewall_int_test_fix.yml | 2 ++ .../targets/meraki_mr_l3_firewall/tasks/main.yml | 12 ++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 changelogs/fragments/53600-meraki_mr_l3_firewall_int_test_fix.yml diff --git a/changelogs/fragments/53600-meraki_mr_l3_firewall_int_test_fix.yml b/changelogs/fragments/53600-meraki_mr_l3_firewall_int_test_fix.yml new file mode 100644 index 00000000000..58bb5f0c9a4 --- /dev/null +++ b/changelogs/fragments/53600-meraki_mr_l3_firewall_int_test_fix.yml @@ -0,0 +1,2 @@ +minor_changes: + - meraki_mr_l3_firewall - Integration test now uses net_id in some tests for improved code coverage. diff --git a/test/integration/targets/meraki_mr_l3_firewall/tasks/main.yml b/test/integration/targets/meraki_mr_l3_firewall/tasks/main.yml index 1e4f0353399..75a110b2851 100644 --- a/test/integration/targets/meraki_mr_l3_firewall/tasks/main.yml +++ b/test/integration/targets/meraki_mr_l3_firewall/tasks/main.yml @@ -82,11 +82,19 @@ # Tear down starts here ############################################################################ always: - - name: Delete wireless network + - name: Delete wireless SSID meraki_ssid: auth_key: '{{ auth_key }}' state: absent org_name: '{{test_org_name}}' net_id: '{{net}}' number: 1 - delegate_to: localhost \ No newline at end of file + delegate_to: localhost + + - name: Delete wireless network + meraki_network: + auth_key: '{{ auth_key }}' + state: absent + org_name: '{{test_org_name}}' + net_id: '{{net}}' + delegate_to: localhost