From b03522bcd815990520132ece23e1b99f16673199 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 7 Apr 2026 12:31:58 +0100 Subject: [PATCH] Tests: stabilize bundle MCP SSE materialization --- src/agents/pi-bundle-mcp-tools.materialize.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/agents/pi-bundle-mcp-tools.materialize.test.ts b/src/agents/pi-bundle-mcp-tools.materialize.test.ts index 00e4ae77f77..05b7db9088c 100644 --- a/src/agents/pi-bundle-mcp-tools.materialize.test.ts +++ b/src/agents/pi-bundle-mcp-tools.materialize.test.ts @@ -1,6 +1,6 @@ import { createRequire } from "node:module"; import path from "node:path"; -import { afterEach, describe, expect, it } from "vitest"; +import { afterEach, describe, expect, it, vi } from "vitest"; import { cleanupBundleMcpHarness, makeTempDir, @@ -124,6 +124,7 @@ describe("createBundleMcpToolRuntime", () => { }); it("loads configured SSE MCP tools via url", async () => { + vi.useRealTimers(); const sseServer = await startSseProbeServer(); try {