From 5d43f7dc14665582f47d26b4de6804660884076b Mon Sep 17 00:00:00 2001 From: Xichen96 Date: Thu, 23 Jul 2026 17:56:55 +0000 Subject: [PATCH] [tests]: Remove mirror destination route correctly Delete the routed destination prefix installed by the test so the Ethernet32 router interface is no longer retained across IPv4 and IPv6 cases. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b6b568a1-5d2a-4309-b1ac-ef21ca155079 Signed-off-by: Xichen96 --- tests/test_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_mirror.py b/tests/test_mirror.py index 857161b76c2..603bb337f52 100644 --- a/tests/test_mirror.py +++ b/tests/test_mirror.py @@ -618,7 +618,7 @@ def _test_MirrorDestMoveVlan(self, dvs, testlog, v6_encap=False): self.remove_vlan("9") # remove route; remove neighbor; remove ip; bring down port - self.remove_route(dvs, vlan_intf_addr) + self.remove_route(dvs, port_ip_prefix) self.remove_neighbor("Ethernet32", port_nhop_ip) self.remove_ip_address("Ethernet32", port_intf_addr) self.set_interface_status(dvs, "Ethernet32", "down")