test(perf): avoid codex failure runtime plan setup · openclaw/openclaw@2d5df74
steipete
·
2026-05-06
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1461,9 +1461,10 @@ describe("runCodexAppServerAttempt", () => {
|
1461 | 1461 | return undefined; |
1462 | 1462 | }); |
1463 | 1463 | |
1464 | | -await expect( |
1465 | | -runCodexAppServerAttempt(createParamsWithRuntimePlan(sessionFile, workspaceDir)), |
1466 | | -).rejects.toThrow("turn start exploded"); |
| 1464 | +const params = createParams(sessionFile, workspaceDir); |
| 1465 | +params.runtimePlan = createCodexRuntimePlanFixture(); |
| 1466 | + |
| 1467 | +await expect(runCodexAppServerAttempt(params)).rejects.toThrow("turn start exploded"); |
1467 | 1468 | |
1468 | 1469 | expect(llmInput).toHaveBeenCalledTimes(1); |
1469 | 1470 | expect(llmOutput).toHaveBeenCalledTimes(1); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。