moby/integration/networking
Sebastiaan van Stijn 58785c2932
integration/networking: fix TestBridgeICC
This test broke in 98323ac114.

This commit renamed WithMacAddress into WithContainerWideMacAddress.
This helper sets the MacAddress field in container.Config. However, API
v1.44 now ignores this field if the NetworkMode has no matching entry in
EndpointsConfig.

This fix uses the helper WithMacAddress and specify for which
EndpointConfig the MacAddress is specified.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2023-11-08 10:23:24 +01:00
..
bridge_test.go integration/networking: fix TestBridgeICC 2023-11-08 10:23:24 +01:00
main_test.go integration: Add a new networking integration test suite 2023-11-03 09:58:50 +01:00