mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 07:42:17 +00:00
fix(e2e): time out telegram package installs
This commit is contained in:
@@ -40,6 +40,12 @@ describe("package Telegram live Docker E2E", () => {
|
||||
|
||||
expect(installRunStart).toBeGreaterThanOrEqual(0);
|
||||
expect(installRunEnd).toBeGreaterThan(installRunStart);
|
||||
expect(installRun).toContain(
|
||||
'-e OPENCLAW_E2E_NPM_INSTALL_TIMEOUT="${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}"',
|
||||
);
|
||||
expect(installRun).toContain(
|
||||
'timeout --foreground --kill-after=30s "$npm_install_timeout" npm install -g "$install_source" --no-fund --no-audit',
|
||||
);
|
||||
expect(installRun).toContain('npm install -g "$install_source" --no-fund --no-audit');
|
||||
expect(installRun).toContain('"${package_mount_args[@]}"');
|
||||
expect(installRun).not.toContain('"${docker_env[@]}"');
|
||||
|
||||
@@ -143,6 +143,12 @@ describe("RTT harness", () => {
|
||||
expect(installEnvSnapshotIndex).toBeGreaterThanOrEqual(0);
|
||||
expect(convexSecretForwardIndex).toBeGreaterThan(installEnvSnapshotIndex);
|
||||
expect(packageInstallIndex).toBeLessThan(credentialAcquireIndex);
|
||||
expect(script).toContain(
|
||||
'-e OPENCLAW_E2E_NPM_INSTALL_TIMEOUT="${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}"',
|
||||
);
|
||||
expect(script).toContain(
|
||||
'timeout --foreground --kill-after=30s "$npm_install_timeout" npm install -g "$install_source" --no-fund --no-audit',
|
||||
);
|
||||
expect(script).toContain("run_logged docker_e2e_docker_run_cmd run --rm");
|
||||
expect(script).not.toContain("run_logged docker run --rm");
|
||||
expect(heartbeatStartIndex).toBeGreaterThan(sourceIndex);
|
||||
|
||||
Reference in New Issue
Block a user