Skip to content

Commit 15bd2ba

Browse files
committed
test(mcp): the idle wait mock returns timedOut false, like the real service
1 parent 45a3b2a commit 15bd2ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/mcp/OrchestratorMcpService.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,7 +2590,7 @@ describe("OrchestratorMcpService.waitForThread", () => {
25902590
threadId,
25912591
runId: null,
25922592
status: "idle",
2593-
timedOut: true,
2593+
timedOut: false,
25942594
});
25952595
assert.deepStrictEqual(yield* Ref.get(requestedTimeouts), [50_000, 5_000]);
25962596
}).pipe(
@@ -2606,7 +2606,7 @@ describe("OrchestratorMcpService.waitForThread", () => {
26062606
Ref.update(requestedTimeouts, (timeouts) => [
26072607
...timeouts,
26082608
input.timeoutMs,
2609-
]).pipe(Effect.as({ threadId, run: null, timedOut: true })),
2609+
]).pipe(Effect.as({ threadId, run: null, timedOut: false })),
26102610
}),
26112611
ServerSettings.layerTest(),
26122612
Layer.mock(ProviderRegistry.ProviderRegistry)({ getProviders: Effect.succeed([]) }),

0 commit comments

Comments
 (0)