forked from oVirt/ovirt-imageio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A recent change in cpython broke autobind of abstract unix socket in linux, causing bind calls with an empty string to be bound to '\0' instead of a random address (expected). This results in an 'address already in use' error when consecutive empty string binding is used in the tests. While this issue may get solved eventually, we can change the test strategy and use the random unique addresses in the abstract space, to create unique sockets per test so that they do not collide, and do not depend on the empty socket feature. Related: python/cpython#94821 Signed-off-by: Albert Esteve <aesteve@redhat.com>
- Loading branch information
1 parent
e189066
commit eef5c90
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters