mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-10-21 05:23:19 +00:00
build(app): allow a slow Electron start in the CLI staging smoke test
This commit is contained in:
parent
9eafaefbfa
commit
f03a3133e2
1 changed files with 2 additions and 1 deletions
|
|
@ -154,7 +154,8 @@ try {
|
|||
const modelsHelp = execFileSync(electronPath, [launchPath, 'models', '--help'], {
|
||||
env: electronEnv,
|
||||
encoding: 'utf8',
|
||||
timeout: 5_000,
|
||||
// An x64 Electron under emulation on an ARM64 machine takes several seconds to start.
|
||||
timeout: 30_000,
|
||||
})
|
||||
if (!/^Usage: codeburn models\b/m.test(modelsHelp)) {
|
||||
throw new Error('stage-cli: Electron launch shim lost ordinary CLI arguments')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue