Skip to content

Commit c1f5d8e

Browse files
committed
test(compaction): expose resolveCompactionRetryAggregateTimeoutMs in shared test mock
1 parent 878011c commit c1f5d8e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/agents/embedded-agent-runner/run/attempt.spawn-workspace.test-support.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,9 @@ vi.mock("./compaction-retry-aggregate-timeout.js", () => ({
828828
timedOut: false,
829829
aborted: false,
830830
}),
831+
resolveCompactionRetryAggregateTimeoutMs: () => 60_000,
832+
COMPACTION_RETRY_AGGREGATE_TIMEOUT_FLOOR_MS: 60_000,
833+
COMPACTION_RETRY_AGGREGATE_TIMEOUT_MARGIN_MS: 30_000,
831834
}));
832835

833836
vi.mock("./compaction-timeout.js", () => ({

0 commit comments

Comments
 (0)