Skip to content

Commit 2b46044

Browse files
committed
test(codex): correct affinity request binding
1 parent a5f69d8 commit 2b46044

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/server-auth.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ describe("server local API auth", () => {
18631863
? rejectionResponse(unsupportedModelBody())
18641864
: Response.json({ id: "retry-success", status: "completed", output: [] }));
18651865
try {
1866-
const response = await harness.request({ threadId: affinityThread });
1866+
const response = await harness.request();
18671867
expect(response.status).toBe(200);
18681868
expect((await response.json() as { id: string }).id).toBe("retry-success");
18691869
expect(harness.dispatches).toEqual(["acct-pool-a", "acct-pool-b"]);
@@ -2590,7 +2590,7 @@ describe("server local API auth", () => {
25902590
return redirectedFetch(input, init);
25912591
}) as typeof fetch;
25922592
try {
2593-
const response = await harness.request();
2593+
const response = await harness.request({ threadId: affinityThread });
25942594
expect(response.status).toBe(502);
25952595
expect(await response.json()).toEqual({
25962596
error: {

0 commit comments

Comments
 (0)