Commit 47b54dc
committed
Fix test_connect_with_mac_address for Docker v29.3
With (moby/moby#52040), Docker v29.3.0 now correctly applies the
MacAddress field in EndpointSettings when connecting a container
to a network.
This test connects a stopped container and immediately inspects it.
On Docker v29.3.0, the endpoint MAC is not present in the inspect
data in that state, so the assertion fails.
Start the container before inspecting so the test passes on both old
and new Docker versions.
Fixes: #3389
Signed-off-by: Ricardo Branco <rbranco@suse.de>1 parent df3f8e2 commit 47b54dc
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
| 424 | + | |
423 | 425 | | |
424 | 426 | | |
425 | 427 | | |
| |||
0 commit comments