diff --git a/test/v8/v8.test.ts b/test/v8/v8.test.ts index ec6e1c8aa5..54edf6032c 100644 --- a/test/v8/v8.test.ts +++ b/test/v8/v8.test.ts @@ -1,6 +1,6 @@ import { spawn } from "bun"; import { beforeAll, describe, expect, it } from "bun:test"; -import { bunEnv, bunExe, isASAN, isBroken, isMusl, isWindows, nodeExe, tmpdirSync } from "harness"; +import { bunEnv, bunExe, isBroken, isMusl, isWindows, nodeExe, tmpdirSync } from "harness"; import assert from "node:assert"; import fs from "node:fs/promises"; import { basename, join } from "path"; @@ -285,13 +285,9 @@ describe.concurrent.todoIf(isBroken && isMusl)("node:v8", () => { it("can hold a lot of locals", async () => { await checkSameOutput("test_many_v8_locals", []); }); - it( - "keeps GC objects alive", - async () => { - await checkSameOutput("test_handle_scope_gc", []); - }, - 10000 * (isASAN ? 6 : 1), - ); + it("keeps GC objects alive", async () => { + await checkSameOutput("test_handle_scope_gc", []); + }, 120000); // 2 minutes for ASAN/debug builds }); describe("EscapableHandleScope", () => {