From 0032a36bdf3fa1c6a5205687b4b541bb7263fdf4 Mon Sep 17 00:00:00 2001 From: gshemesh2 Date: Tue, 28 Oct 2025 10:40:02 +0200 Subject: [PATCH] Adjusting test_stress_arp is it can handle cases of ipv6-only topologies . (#20932) In IPv6-only topologies, use 'ip -6 neigh flush all' insted of 'ip -stats neigh flush all' to make it more focus on IPv6 only, and reduce the chance of unsuccessful execution of a command. Add skip for test_ipv4_arp in case of ipv6 only topology. --- .../plugins/conditional_mark/tests_mark_conditions.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml index 288e8aef512..b85b8ab63d9 100644 --- a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml +++ b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml @@ -178,6 +178,12 @@ arp/test_stress_arp.py::test_ipv4_arp: conditions: - "'-v6-' in topo_name" +arp/test_stress_arp.py::test_ipv4_arp: + xfail: + reason: "skip for IPv6-only topologies" + conditions: + - "'-v6-' in topo_name" + arp/test_unknown_mac.py: skip: reason: "Behavior on cisco-8000 & (Marvell) platform for unknown MAC is flooding rather than DROP, hence skipping."