Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

test(runtime): allow console startup time on shared runners

kashorin10b216c57b57
diff --git a/packages/runtime-local/test/worker-process.test.ts b/packages/runtime-local/test/worker-process.test.ts
index 39c4485d..2d13bfc9 100644
--- a/packages/runtime-local/test/worker-process.test.ts
+++ b/packages/runtime-local/test/worker-process.test.ts
@@ -36,19 +36,22 @@ test("one live detached Runtime Worker survives repeated starts and stale startu
process.exit(0);
});
`;
+ // This checks process ownership, not startup speed. Creating a Windows console on a shared
+ // runner can take longer than five seconds while the rest of the suite is running.
+ const startupTimeoutMs = 30_000;
try {
const [first, concurrent] = await Promise.all([
ensureRuntimeProcess(
profile,
dataRoot,
{ command: process.execPath, args: ["-e", program] },
- 5_000,
+ startupTimeoutMs,
),
ensureRuntimeProcess(
profile,
dataRoot,
{ command: process.execPath, args: ["-e", program] },
- 5_000,
+ startupTimeoutMs,
),
]);
assert.equal(first.state, "running");