From db628e79c91ce92421b507fd5f5f31bc8f374bb1 Mon Sep 17 00:00:00 2001 From: Hans Ott Date: Thu, 27 Feb 2025 17:44:47 +0100 Subject: [PATCH] Set timeout for HTTPRequest.test.ts --- library/sinks/Fetch.localhost.test.ts | 3 --- library/sinks/HTTPRequest.test.ts | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/library/sinks/Fetch.localhost.test.ts b/library/sinks/Fetch.localhost.test.ts index aa85faaa2..1b4c29c94 100644 --- a/library/sinks/Fetch.localhost.test.ts +++ b/library/sinks/Fetch.localhost.test.ts @@ -1,11 +1,8 @@ /* eslint-disable prefer-rest-params */ import * as t from "tap"; -import { Agent } from "../agent/Agent"; import { createServer, Server } from "http"; -import { ReportingAPIForTesting } from "../agent/api/ReportingAPIForTesting"; import { Token } from "../agent/api/Token"; import { Context, runWithContext } from "../agent/Context"; -import { LoggerNoop } from "../agent/logger/LoggerNoop"; import { createTestAgent } from "../helpers/createTestAgent"; import { Fetch } from "./Fetch"; diff --git a/library/sinks/HTTPRequest.test.ts b/library/sinks/HTTPRequest.test.ts index 81a6359a0..db4af5682 100644 --- a/library/sinks/HTTPRequest.test.ts +++ b/library/sinks/HTTPRequest.test.ts @@ -54,6 +54,8 @@ function createContext(): Context { }; } +t.setTimeout(60 * 1000); + t.test("it works", (t) => { const agent = createTestAgent({ token: new Token("123"),