Skip to content

Commit fa5780d

Browse files
committed
test(ci): budget the 128-mutation OAuth tail case for windows-latest
The admission test performs 128 serialized load-modify-persist store mutations as its assertion; windows-latest measured 7.3 seconds against Bun's 5-second default, so it gets the store budget with the measurement recorded.
1 parent 09a0a18 commit fa5780d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/oauth-store-multi.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { afterEach, beforeEach, describe, expect, test } from "bun:test";
2+
import { STORE_BUDGET_MS } from "./helpers/test-budget";
23
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
34
import { join } from "node:path";
45
import {
@@ -272,7 +273,7 @@ describe("multi-account auth store", () => {
272273
await Promise.all(accepted);
273274
expect(executions).toBe(128);
274275
expect(oauthMutationTailSnapshot().active).toBe(0);
275-
});
276+
}, STORE_BUDGET_MS); // 128 serialized load-modify-persist store mutations; windows-latest measured ~7.3s against Bun's 5s default.
276277

277278
test("OAuth 30 second wait timeout releases an unstarted lease and never enters the chain", async () => {
278279
let releaseFirst!: () => void;

0 commit comments

Comments
 (0)