Skip to content

Fix flaky test TestDaemonRestartRestoreBridgeNetwork#50196

Merged
robmry merged 1 commit intomoby:masterfrom
robmry:fix_TestDaemonRestartRestoreBridgeNetwork
Jun 13, 2025
Merged

Fix flaky test TestDaemonRestartRestoreBridgeNetwork#50196
robmry merged 1 commit intomoby:masterfrom
robmry:fix_TestDaemonRestartRestoreBridgeNetwork

Conversation

@robmry
Copy link
Contributor

@robmry robmry commented Jun 13, 2025

- What I did

The test checked for "Bind for 0.0.0.0:80 failed: port is already allocated".

But, since commit d662091 ("portallocator: always check for ports allocated for 0.0.0.0/::"), the message is sometimes about ":::80".

- How I did it

Just check for "port is already allocated".

- How to verify it

- Human readable description for the release notes

It checked for "Bind for 0.0.0.0:80 failed: port is already
allocated". But, since commit d662091 ("portallocator: always
check for ports allocated for 0.0.0.0/::"), the message is
sometimes about ":::80".

Signed-off-by: Rob Murray <rob.murray@docker.com>
@robmry robmry added this to the 28.3.0 milestone Jun 13, 2025
@robmry robmry self-assigned this Jun 13, 2025
@thaJeztah
Copy link
Member

But, since commit d662091 ("portallocator: always check for ports allocated for 0.0.0.0/::"), the message is sometimes about ":::80".But, since commit d662091 ("portallocator: always check for ports allocated for 0.0.0.0/::"), the message is sometimes about ":::80".

🙈 😂 - at least happy we have a clear reason

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robmry robmry merged commit f9e6f25 into moby:master Jun 13, 2025
196 of 197 checks passed
@robmry robmry deleted the fix_TestDaemonRestartRestoreBridgeNetwork branch July 21, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: TestDaemonRestartRestoreBridgeNetwork

3 participants