Skip to content

Commit

Permalink
disable serve-body-leak test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pfgithub authored Jan 7, 2025
1 parent 1923509 commit f8bf840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/js/bun/http/serve-body-leak.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Subprocess } from "bun";
import { afterEach, beforeEach, expect, it } from "bun:test";
import { bunEnv, bunExe, isDebug, isFlaky, isLinux } from "harness";
import { bunEnv, bunExe, isDebug, isFlaky, isLinux, isWindows } from "harness";
import { join } from "path";

const payload = Buffer.alloc(512 * 1024, "1").toString("utf-8"); // decent size payload to test memory leak
Expand Down Expand Up @@ -149,7 +149,7 @@ for (const test_info of [
["should not leak memory when streaming the body and echoing it back", callStreamingEcho, false, 64],
] as const) {
const [testName, fn, skip, maxMemoryGrowth] = test_info;
it.todoIf(skip)(
it.todoIf(skip || isFlaky && isWindows)(
testName,
async () => {
const { url, process } = await getURL();
Expand Down

0 comments on commit f8bf840

Please sign in to comment.