fix(fleet): raise fleet-personas spec timeout
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Jarvis
2026-06-24 16:39:01 -05:00
parent 3eeed04e17
commit f1191070e6
2 changed files with 24 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ import { cp, mkdir, mkdtemp, rm, writeFile } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import { dirname, join, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import {
extractClassesFromDir,
listPersonaClasses,
@@ -11,6 +11,11 @@ import {
} from './fleet-personas.js';
import { loadProfiles, validateProfile, type FleetProfile } from './fleet-profiles.js';
// These are INTEGRATION tests: they exercise real filesystem I/O while scanning
// and validating the committed + override persona libraries. Under contended CI
// runners, the default 5s timeout can false-red even though the suite is healthy.
vi.setConfig({ testTimeout: 30_000 });
// The real, committed library: packages/mosaic/src/commands -> framework/fleet.
const frameworkFleet = resolve(
dirname(fileURLToPath(import.meta.url)),