mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 13:26:04 -06:00
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:
committed by
GitHub
parent
2e806ef0e2
commit
9050ff0e9e
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user