Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions apps/server/src/peer/PeerLinks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,8 @@ it.effect("linking a picked machine that answers nowhere names it and links noth
it.live("linking an address with nothing listening says so, unlike one that is not T3 Code", () =>
Effect.scoped(
Effect.gen(function* () {
const closed = yield* Effect.scoped(
serveRaw(() => Effect.succeed(HttpServerResponse.empty({ status: 404 }))),
);
// Any test worker can reuse a closed ephemeral port; port 2 is privileged and outside that range.
const closed = "http://127.0.0.1:2";
const notT3 = yield* serveRaw(() =>
Effect.succeed(
HttpServerResponse.text("<h1>Not Found</h1>", { status: 404, contentType: "text/html" }),
Expand Down
Loading