| ... | @@ -655,8 +655,11 @@ describe("terminatePosixOwnedProcessTree", () => { | ... | @@ -655,8 +655,11 @@ describe("terminatePosixOwnedProcessTree", () => { |
| 655 | | 655 | |
| 656 | it.live("rotates more than 64 live parents without scanning retained tombstones", () => | 656 | it.live("rotates more than 64 live parents without scanning retained tombstones", () => |
| 657 | Effect.gen(function* () { | 657 | Effect.gen(function* () { |
| | 658 | // The server fixture's process group is the runner's real pid, so a synthetic |
| | 659 | // parent sharing it would be skipped as the server's own group. |
| | 660 | const parentPidBase = process.pid < 500_000 ? 500_000 : 1_000; |
| 658 | const parents = Array.from({ length: 130 }, (_, index) => | 661 | const parents = Array.from({ length: 130 }, (_, index) => |
| 659 | identity(1_000 + index, 100, 1_000 + index, 1_000 + index), | 662 | identity(parentPidBase + index, 100, parentPidBase + index, parentPidBase + index), |
| 660 | ); | 663 | ); |
| 661 | let childListReads = 0; | 664 | let childListReads = 0; |
| 662 | let identityCalls = 0; | 665 | let identityCalls = 0; |