From 1e0c9b8c5b85c6c18ecdef0374a945b361d6e79d Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:41:58 -0700 Subject: [PATCH] chore: disable flaky uv_test.js for now (#26003) Will re-enable once I figure out the issue --- tests/napi/uv_test.js | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/tests/napi/uv_test.js b/tests/napi/uv_test.js index 6d8ee26713..af20b26493 100644 --- a/tests/napi/uv_test.js +++ b/tests/napi/uv_test.js @@ -4,15 +4,19 @@ import { assertEquals, loadTestLibrary } from "./common.js"; const uv = loadTestLibrary(); -Deno.test("napi uv async", async () => { - let called = false; - await new Promise((resolve) => { - uv.test_uv_async((value) => { - called = true; - if (value === 5) { - resolve(); - } +Deno.test({ + name: "napi uv async", + ignore: true, + fn: async () => { + let called = false; + await new Promise((resolve) => { + uv.test_uv_async((value) => { + called = true; + if (value === 5) { + resolve(); + } + }); }); - }); - assertEquals(called, true); + assertEquals(called, true); + }, });