Skip to content

Commit

Permalink
[VLAN] Deletion of VLAN not possible without removing member in test_…
Browse files Browse the repository at this point in the history
…vlan.py (sonic-net#1595)

Experimental commit, try to pass Azure sonic tests.
Signed-off-by: Mykola Horb <mykola_horb@jabil.com>
  • Loading branch information
Koliatoday committed Oct 1, 2021
1 parent ac58ee4 commit e65b044
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spytest/tests/switching/test_vlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ def test_ft_vlan_delete_with_member():
if not vlan.delete_vlan(vars.D1, sc_data.vlan_id):
st.report_fail("vlan_delete_fail", sc_data.vlan_id)
else:
#if not vlan.delete_vlan_member(vars.D1, sc_data.vlan_id, sc_data.free_port, tagging_mode=True):
# st.report_fail("vlan_tagged_member_fail", sc_data.free_port, sc_data.vlan_id)
if not vlan.delete_vlan(vars.D1, sc_data.vlan_id):
st.report_fail("vlan_delete_fail", sc_data.vlan_id)
else:
Expand Down

0 comments on commit e65b044

Please sign in to comment.