Skip test TestBridgeINCRouted in rootless mode

Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
Rob Murray
2025-04-23 21:13:16 +01:00
parent 458e69fc2e
commit 7ea0e60dde

View File

@@ -350,6 +350,7 @@ func TestBridgeINC(t *testing.T) {
// TestBridgeINCRouted makes sure a container on a gateway-mode=nat network can establish
// a connection to a container on a gateway-mode=routed network, but not vice-versa.
func TestBridgeINCRouted(t *testing.T) {
skip.If(t, testEnv.IsRootless(), "can't set filter-forward policy in rootless netns")
ctx := setupTest(t)
d := daemon.New(t)