Commit 22d9d0e
committed
test: make abstract socket names unique per process
The .epoll/.select/.io_uring suites run as concurrent processes under
`ctest --parallel`. testAbstractSocket() bound fixed abstract-namespace
names, which are global per netns, so the processes raced to bind the
same name and the loser got EADDRINUSE -- an intermittent CI failure on
PRs that changed no code. Append getpid() to make each process's names
unique.1 parent ccdaf15 commit 22d9d0e
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
300 | 308 | | |
301 | | - | |
| 309 | + | |
302 | 310 | | |
303 | | - | |
| 311 | + | |
304 | 312 | | |
305 | 313 | | |
306 | 314 | | |
| |||
0 commit comments