test: speed up codex app server run attempts · openclaw/openclaw@1ce3637
steipete
·
2026-05-27
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6466,7 +6466,7 @@ describe("runCodexAppServerAttempt", () => {
|
6466 | 6466 | sessionManager.appendMessage( |
6467 | 6467 | assistantMessage("David Ondrej was mentioned in that prior thread", bindingUpdatedAt + 2_000), |
6468 | 6468 | ); |
6469 | | -const harness = createStartedThreadHarness(); |
| 6469 | +const harness = createResumeHarness(); |
6470 | 6470 | const params = createParams(sessionFile, workspaceDir); |
6471 | 6471 | params.prompt = "is the previous message trustworthy?"; |
6472 | 6472 | |
@@ -8491,8 +8491,12 @@ describe("runCodexAppServerAttempt", () => {
|
8491 | 8491 | ); |
8492 | 8492 | await waitForMethod("turn/start"); |
8493 | 8493 | |
8494 | | -expect(queueActiveRunMessageForTest("session-1", "first", { steeringMode: "all" })).toBe(true); |
8495 | | -expect(queueActiveRunMessageForTest("session-1", "second", { steeringMode: "all" })).toBe(true); |
| 8494 | +expect( |
| 8495 | +queueActiveRunMessageForTest("session-1", "first", { debounceMs: 5, steeringMode: "all" }), |
| 8496 | +).toBe(true); |
| 8497 | +expect( |
| 8498 | +queueActiveRunMessageForTest("session-1", "second", { debounceMs: 5, steeringMode: "all" }), |
| 8499 | +).toBe(true); |
8496 | 8500 | |
8497 | 8501 | await vi.waitFor( |
8498 | 8502 | () => |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。