mirror of
https://github.com/moby/moby.git
synced 2026-08-09 09:33:50 +00:00
TestBridgeICC was added to verify bridge inter-container communication, including DNS resolution, ARP/NDP, IPv6 SLAAC/link-local addressing, and internal network behavior. A later change added a firewalld reload so the same coverage also verifies that Docker restores bridge firewall rules after firewalld deletes them. The test is not intended to assert that the first ICMP echo immediately after the reload can never be dropped. In CI, the IPv6 ULA internal-network case can resolve the target name but lose that first packet while the post-reload network path is still converging. Keep the single-packet ping assertion, but run it from a long-lived peer and poll until it succeeds. Persistent ICC or rule-restoration failures still fail the test, while transient post-reload packet loss no longer flakes it. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>