Commit 620b4ab
committed
fix(test): accept /proc access failure in shared-socket ambiguity test
In CI environments (containerized runners), /proc/{pid}/exe may be
unreadable for the forked child process, causing resolve_process_identity
to fail with "failed to resolve peer binary" before reaching the
"ambiguous shared socket ownership" check. Both error paths correctly
deny the connection — accept either in the test assertion.
Signed-off-by: Paolo Dettori <pdettori@gmail.com>
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>1 parent 7ef3954 commit 620b4ab
1 file changed
Lines changed: 20 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4433 | 4433 | | |
4434 | 4434 | | |
4435 | 4435 | | |
| 4436 | + | |
| 4437 | + | |
| 4438 | + | |
| 4439 | + | |
| 4440 | + | |
| 4441 | + | |
4436 | 4442 | | |
4437 | | - | |
4438 | | - | |
4439 | | - | |
4440 | | - | |
4441 | | - | |
4442 | | - | |
4443 | | - | |
4444 | | - | |
4445 | | - | |
4446 | | - | |
4447 | | - | |
4448 | | - | |
| 4443 | + | |
| 4444 | + | |
4449 | 4445 | | |
4450 | 4446 | | |
| 4447 | + | |
| 4448 | + | |
| 4449 | + | |
| 4450 | + | |
| 4451 | + | |
| 4452 | + | |
| 4453 | + | |
| 4454 | + | |
| 4455 | + | |
| 4456 | + | |
| 4457 | + | |
| 4458 | + | |
4451 | 4459 | | |
4452 | 4460 | | |
4453 | 4461 | | |
| |||
0 commit comments