diff --git a/tests/browser-capabilities/indexeddb-runtime.spec.ts b/tests/browser-capabilities/indexeddb-runtime.spec.ts index e3fa690b..c02a959f 100644 --- a/tests/browser-capabilities/indexeddb-runtime.spec.ts +++ b/tests/browser-capabilities/indexeddb-runtime.spec.ts @@ -1020,15 +1020,12 @@ test("fails a blocked v2 upgrade closed, then closes its late connection after t ); expect(blocker).toBe("OPEN"); + // 1103/11-05. The BLOCKED status lasts only blockedTimeoutMs before the + // runtime closes, and each poll is a page.evaluate round trip, so a loaded + // host saw CLOSED first. The settled open result below already says the + // upgrade was blocked; tests/unit/indexeddb-runtime.test.ts pins the + // transient status on a controlled clock. await startLifecycleRuntime(page, name, 2, 500); - await expect - .poll(async () => await lifecycleStatus(page)) - .toEqual({ - kind: "BLOCKED", - currentVersion: 1, - targetVersion: 2, - }); - const blocked = await settleLifecycleRuntime(page); expect(blocked).toMatchObject({ opened: {