test: prune redundant abort case and speed stream cap test

This commit is contained in:
Peter Steinberger
2026-02-23 05:06:27 +00:00
parent 77c3b142a9
commit 23598e0e3a
2 changed files with 1 additions and 9 deletions

View File

@@ -171,14 +171,6 @@ test("background exec without explicit timeout ignores default timeout", async (
cleanupRunningSession(sessionId);
});
test("yielded background exec is not killed when tool signal aborts", async () => {
const tool = createTestExecTool({ allowBackground: true, backgroundMs: 10 });
await expectBackgroundSessionSurvivesAbort({
tool,
executeParams: { command: BACKGROUND_HOLD_CMD, yieldMs: 5 },
});
});
test("yielded background exec still times out", async () => {
const tool = createTestExecTool({ allowBackground: true, backgroundMs: 10 });
await expectBackgroundSessionTimesOut({

View File

@@ -248,7 +248,7 @@ describe("web_fetch extraction fallbacks", () => {
global.fetch = withFetchPreconnect(fetchSpy);
const tool = createFetchTool({
maxResponseBytes: 1024,
maxResponseBytes: 128,
firecrawl: { enabled: false },
});
const result = await tool?.execute?.("call", { url: "https://example.com/stream" });