test: widen oxlint contract and built-bin spawn budgets

Both suites spawn real subprocesses (oxlint probes; the dsh built bin) that
cold-start slowly on the contended self-hosted Windows pool, so their 20-25s
timeouts fire before the child finishes. Raise the oxlint contract case
timeouts to 60s and the built-bin execa timeouts to 60s, matching the
tool-ralph budget treatment.
This commit is contained in:
Chinesezjc
2026-08-26 16:39:30 +08:00
parent e87a47692d
commit e9cb003e9e
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -36,7 +36,7 @@ async function runBuiltBin(
)
const result = await execa(process.execPath, [dshBin, ...args], {
input: '',
timeout: 25_000,
timeout: 60_000,
killSignal: 'SIGKILL',
reject: false,
env: childEnv,
@@ -310,7 +310,7 @@ function startStartupProfile(fixture: StartupFixture, args: readonly string[]) {
cwd: fixture.home,
input: '',
reject: false,
timeout: 25_000,
timeout: 60_000,
killSignal: 'SIGKILL',
env: {
DSH_HOME: fixture.home,
@@ -423,7 +423,7 @@ describe.skipIf(!existsSync(dshBin))('dsh BUILT bin (node lib/bin.js, no tsx)',
const child = execa(process.execPath, [dshBin, '--profile', 'sdk'], {
cwd: home,
reject: false,
timeout: 25_000,
timeout: 60_000,
killSignal: 'SIGKILL',
env: {
...process.env,
@@ -484,7 +484,7 @@ describe.skipIf(!existsSync(dshBin))('dsh BUILT bin (node lib/bin.js, no tsx)',
const child = execa(process.execPath, [dshBin, '--profile', 'acp'], {
cwd: home,
reject: false,
timeout: 25_000,
timeout: 60_000,
killSignal: 'SIGKILL',
env: {
...process.env,