Skip to content

Commit 9b13120

Browse files
authored
Fix in script to avoid orchagent crash when port down followed by fdb delete (sonic-net#1340)
Signed-off-by: Rupesh Kumar <[email protected]>
1 parent 9b01844 commit 9b13120

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_mirror_port_erspan.py

-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ def test_PortMirrorToVlanAddRemove(self, dvs, testlog):
149149
"SAI_MIRROR_SESSION_ATTR_VLAN_CFI": "0"}
150150
self.dvs_mirror.verify_session(dvs, session, asic_db=expected_asic_db, src_ports=src_asic_ports, asic_size=16, direction="TX")
151151

152-
dvs.set_interface_status("Ethernet4", "down")
153-
154152
# remove fdb entry
155153
dvs.remove_fdb(vlan_id, "66-66-66-66-66-66")
156154
self.dvs_mirror.verify_session_status(session, status="inactive")

0 commit comments

Comments
 (0)