Skip to content

Commit 9fc765e

Browse files
committed
test(cli): bind service conflict fixture to IPv4
1 parent 1f2de53 commit 9fc765e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/test/service.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ test("configured managed service port overrides the channel default", async () =
302302

303303
test("unrelated managed port occupancy reports an actionable conflict", async () => {
304304
const root = await fs.mkdtemp(path.join(os.tmpdir(), "opencode-service-conflict-"))
305-
const listener = Bun.serve({ port: 0, fetch: () => new Response("unrelated") })
305+
const listener = Bun.serve({ hostname: "127.0.0.1", port: 0, fetch: () => new Response("unrelated") })
306306
const port = listener.port
307307
const registration = path.join(root, "state", "opencode", "service-local.json")
308308
await fs.mkdir(path.join(root, "config", "opencode"), { recursive: true })

0 commit comments

Comments
 (0)