From 86df54c1071dcaedcca08bc9629e1f8ba260993a Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 31 Aug 2025 13:44:54 +0200 Subject: [PATCH] test/case/infix_containers: ensure IP forwarding is enabled Usually the CNI bridge plugin "takes care" of enabling IPv4 forwarding on all interfaces, see issue #1125, but when the container tests are run in a different order from the infix_containers.yaml, Infix may reset the IPv4 forwarding on this critical interface. This change is both future proof and also ensures the test works as it was intended even if tests are run out-of-order. Signed-off-by: Joachim Wiberg --- test/case/infix_containers/container_bridge/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/case/infix_containers/container_bridge/test.py b/test/case/infix_containers/container_bridge/test.py index cd9fd4b7..4c070d1c 100755 --- a/test/case/infix_containers/container_bridge/test.py +++ b/test/case/infix_containers/container_bridge/test.py @@ -36,6 +36,7 @@ with infamy.Test() as test: { "name": f"{ifname}", "ipv4": { + "forwarding": True, "address": [{ "ip": f"{DUTIP}", "prefix-length": 24