-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shorten too long test UNIX socket path
Fixes #3572 Different OS kernels have different fs path length limitations for it. For Linux, it's 108, for HP-UX it's 92 (or higher) depending on its version. For most of the BSDs (Open, Free, macOS) it's mostly 104 but sometimes it can be down to 100. Ref: https://unix.stackexchange.com/a/367012/27133 This change implements a flexible socket path generator fixture which guarantees that it's fit into the memory space allocated by the kernel of the current OS runtime. (cherry picked from commit 8e9e39b)
- Loading branch information
Showing
4 changed files
with
118 additions
and
52 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
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