Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Update two tests the train's own changes broke in full CI
garrytanf3d74d2ab73f
diff --git a/test/revision-backfill-pending-request-error.test.ts b/test/revision-backfill-pending-request-error.test.tsindex 2071f70e4c..ed5b53191e 100644--- a/test/revision-backfill-pending-request-error.test.ts+++ b/test/revision-backfill-pending-request-error.test.ts@@ -60,6 +60,6 @@ describe('revision_backfill_pending at publication', () => {const [row] = await engine.executeRaw<{ state: string; error_code: string | null; error_message: string | null }>('SELECT state, error_code, error_message FROM persistence_requests WHERE request_id=$1::uuid', [requestId]);expect(row).toMatchObject({ state: 'conflict', error_code: 'revision_backfill_pending' });- expect(row!.error_message).toContain('gbrain apply-migrations --yes');+ expect(row!.error_message).toContain('gbrain apply-migrations --force-schema');}), 60_000);});diff --git a/test/sync-timeout-watchdog-order.test.ts b/test/sync-timeout-watchdog-order.test.tsindex ffdb134149..01b1aeabe6 100644--- a/test/sync-timeout-watchdog-order.test.ts+++ b/test/sync-timeout-watchdog-order.test.ts@@ -29,7 +29,8 @@ describe('sync --timeout (CLI)', () => {test('a plain-directory --timeout stop is a partial with exit 0, before the watchdog backstop', async () => {const home = join(dir, 'home');const notes = join(dir, 'notes');- writeLargeWorktree(notes, 3000);+ const files = 3000;+ writeLargeWorktree(notes, files);const init = await runCli(['init', '--pglite', '--no-embedding'], { home, env: KEYS, timeoutMs: 120_000 });expect(init.exitCode, init.stderr).toBe(0);const add = await runCli(['sources', 'add', 'source-a', '--path', notes, '--force'], { home, env: KEYS, timeoutMs: 120_000 });