From b6b9bd636006f8ddfcee5747da0e26659a3ef672 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Fri, 2 Oct 2026 09:39:15 -0300 Subject: [PATCH] =?UTF-8?q?style(C245):=20estabiliza=20a=20formata=C3=A7?= =?UTF-8?q?=C3=A3o=20do=20spec=20do=20CLI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unit/archiveCatalogCli.unit.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/unit/archiveCatalogCli.unit.spec.ts b/tests/unit/archiveCatalogCli.unit.spec.ts index bbafe535..a61114d8 100644 --- a/tests/unit/archiveCatalogCli.unit.spec.ts +++ b/tests/unit/archiveCatalogCli.unit.spec.ts @@ -132,6 +132,8 @@ describe('archive:catalog write guards (C232)', () => { expect(output(result)).toContain('ARCHIVE_CATALOG_CONFIRM=1') }) + // This is the one CLI case that gets past the guards and boots Payload before + // the DB refusal; a busy full-suite run can push it past the default 5s. it('metadata-only --apply skips the S3 and vision guards entirely', () => { const result = run(['--metadata-only', '--apply'], { ARCHIVE_CATALOG_CONFIRM: '1', @@ -149,6 +151,5 @@ describe('archive:catalog write guards (C232)', () => { expect(text).not.toContain('S3_BUCKET') expect(text).not.toContain('host público') expect(text).not.toContain('ARCHIVE_VISION_MODEL') - }, // the DB refusal; a busy full-suite run can push it past the default 5s. // This is the one case that gets past the guards and boots Payload before - 60_000) + }, 60_000) })