Skip to content

Commit 3e10e2e

Browse files
test(relay): the backfill test allows later migrations
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 453e978 commit 3e10e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎infra/relay/src/environments/ManagedTunnelLimits.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ describe("ManagedTunnelLimits", () => {
175175
.pipe(Effect.flatMap((migration) => Effect.promise(() => pg.exec(migration)))),
176176
);
177177
const backfill = migrations.indexOf(BACKFILL_MIGRATION);
178-
expect(backfill).toBe(migrations.length - 1);
178+
expect(backfill).toBeGreaterThan(-1);
179179
yield* applyMigrations(migrations.slice(0, backfill));
180180

181181
const at = (minutes: number) => `2026-10-27T12:${String(minutes).padStart(2, "0")}:00.000Z`;

0 commit comments

Comments
 (0)