Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Feb 3, 2025
1 parent 944636a commit 933b5a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit_node/http_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,11 @@ Deno.test(
});
request.on("close", () => resolve());
await promise;

if (Deno.build.os === "windows") {
// FIXME(kt3k): This is necessary for preventing op leak on windows
await new Promise((resolve) => setTimeout(resolve, 4000));
}
},
);

Expand Down

0 comments on commit 933b5a4

Please sign in to comment.