fix(test): stabilize boundary timing

This commit is contained in:
morluto
2026-07-30 04:37:41 +00:00
parent 97f6a0f3fd
commit f0d8cdafa8
2 changed files with 7 additions and 1 deletions
@@ -219,7 +219,10 @@ describe("GhidraClient", () => {
["analysis_timeout", "analysis_timeout"],
["exit", "process"],
] as const)("projects %s startup as %s", async (mode, expectedKind) => {
const client = clientFor(new FixtureLauncher(mode));
const client = clientFor(
new FixtureLauncher(mode),
mode === "future_id" ? { requestTimeoutMs: 1_000 } : {},
);
const result = await client.start();
expect(result.ok).toBe(false);
if (!result.ok) expect(result.error.kind).toBe(expectedKind);