Skip to content

Commit

Permalink
fix nxos_l2 resource tests (ansible#67916)
Browse files Browse the repository at this point in the history
  • Loading branch information
justjais authored Mar 2, 2020
1 parent 29978d0 commit 4e43bd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4e43bd3

Please sign in to comment.