-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsock: test: Skip SocketChannelTest test when bind fails
In some environments, such as an already virtualized environment like WSL 2, binding to a AF_VSOCK server socket may fail with an AddressUnavailableSocketException. Handle this situation by failing an assertion, and logging the exception.
- Loading branch information
1 parent
da39e26
commit aee4391
Showing
2 changed files
with
32 additions
and
1 deletion.
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