test(acp): remove cleanup-only session seam (#124043)

* test(acp): remove cleanup-only session seam

* test(infra): stabilize routing and PID readiness

* test(gateway): synchronize post-rejection frame proof
This commit is contained in:
Peter Steinberger
2026-08-14 23:26:33 -07:00
committed by GitHub
parent 2e806ef0e2
commit 9050ff0e9e
16 changed files with 111 additions and 214 deletions
+3 -6
View File
@@ -20,6 +20,7 @@ import {
validateLiveShardReportPayload,
} from "../../scripts/test-live-shard.mts";
import { expectNoReaddirSyncDuring } from "../../src/test-utils/fs-scan-assertions.js";
import { waitForPidFile } from "../helpers/process-wait.js";
describe("scripts/test-live-shard", () => {
const allFiles = collectAllLiveTestFiles();
@@ -586,12 +587,8 @@ describe("scripts/test-live-shard", () => {
},
);
await waitFor(() => existsSync(childPidPath), 5_000);
await waitFor(() => existsSync(descendantPidPath), 5_000);
childPid = Number(readFileSync(childPidPath, "utf8"));
descendantPid = Number(readFileSync(descendantPidPath, "utf8"));
expect(Number.isInteger(childPid)).toBe(true);
expect(Number.isInteger(descendantPid)).toBe(true);
childPid = await waitForPidFile(childPidPath, 5_000);
descendantPid = await waitForPidFile(descendantPidPath, 5_000);
runner.kill("SIGTERM");