Skip to content
Snippets Groups Projects
Unverified Commit df110126 authored by Ross Burton's avatar Ross Burton Committed by GitHub
Browse files

gh-95243: Mitigate the race condition in testSockName (#96173)


find_unused_port() has an inherent race condition, but we can't use
bind_port() as that uses .getsockname() which this test is exercising.

Try binding to unused ports a few times before failing.

Signed-off-by: default avatarRoss Burton <ross.burton@arm.com>
parent e34c82ab
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment