diff options
author | Sumit Jaiswal <sjaiswal@redhat.com> | 2020-03-02 15:05:26 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 15:05:26 +0530 |
commit | 4e43bd3a4f4b14142b90d765cd271b1f22411404 (patch) | |
tree | 07e051a01ec248e218aff9fec1dfef5ab5f2bcdd /test/integration | |
parent | 29978d027b87af9a1f90786d02a6b86bfbcb9cdb (diff) | |
download | ansible-4e43bd3a4f4b14142b90d765cd271b1f22411404.tar.gz |
fix nxos_l2 resource tests (#67916)
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/targets/nxos_l2_interfaces/tests/cli/deleted.yaml | 2 | ||||
-rw-r--r-- | test/integration/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 c8ba003dbf..4d04aae861 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 822a0315d9..f74737263b 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: |