From 4e43bd3a4f4b14142b90d765cd271b1f22411404 Mon Sep 17 00:00:00 2001 From: Sumit Jaiswal Date: Mon, 2 Mar 2020 15:05:26 +0530 Subject: [PATCH] fix nxos_l2 resource tests (#67916) --- .../targets/nxos_l2_interfaces/tests/cli/deleted.yaml | 2 +- .../targets/nxos_l2_interfaces/tests/cli/merged.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/nxos_l2_interfaces/tests/cli/deleted.yaml b/test/integration/targets/nxos_l2_interfaces/tests/cli/deleted.yaml index c8ba003dbfb..4d04aae8617 100644 --- a/test/integration/targets/nxos_l2_interfaces/tests/cli/deleted.yaml +++ b/test/integration/targets/nxos_l2_interfaces/tests/cli/deleted.yaml @@ -46,7 +46,7 @@ - "'interface {{ test_int2 }}' in result.commands" - "'no switchport mode' in result.commands" - "'no switchport trunk allowed vlan' in result.commands" - - "result.commands|length == 4" + - "result.commands|length == 5" - name: Idempotence - deleted nxos_l2_interfaces: *deleted diff --git a/test/integration/targets/nxos_l2_interfaces/tests/cli/merged.yaml b/test/integration/targets/nxos_l2_interfaces/tests/cli/merged.yaml index 822a0315d96..f74737263b1 100644 --- a/test/integration/targets/nxos_l2_interfaces/tests/cli/merged.yaml +++ b/test/integration/targets/nxos_l2_interfaces/tests/cli/merged.yaml @@ -72,7 +72,7 @@ - "'interface {{ test_int1 }}' in result.commands" - "'switchport mode trunk' in result.commands" - "'switchport trunk allowed vlan add 10,11,12' in result.commands" - - "result.commands|length == 2" + - "result.commands|length == 3" - name: Gather l2_interfaces facts nxos_facts: