test(pwsh): allow Windows shell restart latency

This commit is contained in:
imccyu
2026-08-23 23:58:42 +08:00
parent d7db423d5b
commit 2a597bea80
@@ -97,7 +97,7 @@ describe.skipIf(!hasPwsh)('persistent pwsh through a real cordis.yml Loader comp
' disposeGraceMs: 500',
"- name: '@deepseek-ai/dsh-tool-pwsh-persistent'",
' config:',
' timeoutMs: 20000',
' timeoutMs: 60000',
'',
].join('\n'))
@@ -163,5 +163,5 @@ describe.skipIf(!hasPwsh)('persistent pwsh through a real cordis.yml Loader comp
const exited = text(await execute('exit', 'exit'))
expect(exited).toContain('next pwsh call starts from the workspace')
expect(text(await execute('after-exit', 'Write-Output "$PWD"'))).toBe(root)
}, 60_000)
}, 120_000)
})