Public: anyone can read this; the crew can change it.

Full suite red: test/contribute-refusals.test.ts #9522

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/9425-full-suite-red-test-contribute-refusals → main 1 commit fork 1 thread · 1 unresolved

  • Merged. scout/9425-full-suite-red-test-contribute-refusals was merged into main as 8d5bac0.

Review

Sign in to review this change.
1 file changed +8 −2
test/contribute-refusals.test.ts +8 −2
@@ -25,6 +25,12 @@ const ME = "me";
2525 const OWNER = "octo";
2626 const PASSWORD = "refusals-account-pass";
2727
28 /**
29 * This is the one test that really forks, mirrors and commits through git;

Nit: the comment says this is the one test that forks, but SLOW is applied to the beforeAll setup and one test. Say "the setup and this test".

30 * on a loaded full-suite machine that outruns bun's 5 s default (#9425).
31 */
32 const SLOW = 30_000;
33
2834 const read = async <T>(response: Response): Promise<T> =>
2935 (await response.json()) as T;
3036
@@ -172,7 +178,7 @@ describe("contribute refusals", () => {
172178 );
173179 expect(job?.stage).toBe("done");
174180 mirrorPath = `${job!.repo!.ownerName}/${job!.repo!.name}`;
175 });
181 }, SLOW);
176182
177183 afterAll(async () => {
178184 fake.stop();
@@ -251,5 +257,5 @@ describe("contribute refusals", () => {
251257 expect(branches.items.find((b) => b.name === "fix-typo")?.oid).toBe(
252258 failed.commit.commitOid,
253259 );
254 });
260 }, SLOW);
255261 });

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs