Commit 0bccc8a
committed
test(responses-state): probe a genuinely dead pid for the symlinked-sweep test
The symlinked-directory sweep test drives the real load path, whose stale-temp
sweep checks liveness with kill(pid, 0). The hardcoded dead pid (4242/4243)
collided with a live process on the macos CI runner, so the temp survived and
the assertion flaked red while the same commit passed locally and on ubuntu.
Probe upward for a pid that returns ESRCH instead; the injected-liveness tests
are untouched.1 parent a8e0fe0 commit 0bccc8a
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1457 | 1457 | | |
1458 | 1458 | | |
1459 | 1459 | | |
1460 | | - | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
1461 | 1476 | | |
1462 | 1477 | | |
1463 | 1478 | | |
| |||
0 commit comments