mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:30:47 +00:00
test(perf): avoid codex failure runtime plan setup
This commit is contained in:
@@ -1461,9 +1461,10 @@ describe("runCodexAppServerAttempt", () => {
|
||||
return undefined;
|
||||
});
|
||||
|
||||
await expect(
|
||||
runCodexAppServerAttempt(createParamsWithRuntimePlan(sessionFile, workspaceDir)),
|
||||
).rejects.toThrow("turn start exploded");
|
||||
const params = createParams(sessionFile, workspaceDir);
|
||||
params.runtimePlan = createCodexRuntimePlanFixture();
|
||||
|
||||
await expect(runCodexAppServerAttempt(params)).rejects.toThrow("turn start exploded");
|
||||
|
||||
expect(llmInput).toHaveBeenCalledTimes(1);
|
||||
expect(llmOutput).toHaveBeenCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user