Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix and update integration test template (#712)

0div1d17b9d484e1
diff --git a/packages/js-sdk/tests/integration/template/e2b.Dockerfile b/packages/js-sdk/tests/integration/template/e2b.Dockerfile
index 2284ca7d3..07344d432 100644
--- a/packages/js-sdk/tests/integration/template/e2b.Dockerfile
+++ b/packages/js-sdk/tests/integration/template/e2b.Dockerfile
@@ -1,7 +1,11 @@
FROM e2bdev/code-interpreter:latest
+# Install stess-ng, a tool to load and stress computer systems
+RUN apt update
+RUN apt install -y stress-ng
+
# Create a basic Next.js app
-RUN npx -y create-next-app@latest test --yes --ts --use-npm
+RUN npx -y create-next-app@latest basic-nextjs-app --yes --ts --use-npm
# Install dependencies
RUN cd basic-nextjs-app && npm install
diff --git a/packages/js-sdk/tests/integration/template/e2b.toml b/packages/js-sdk/tests/integration/template/e2b.toml
index 4f6dff736..3f3fd1c4b 100644
--- a/packages/js-sdk/tests/integration/template/e2b.toml
+++ b/packages/js-sdk/tests/integration/template/e2b.toml
@@ -10,8 +10,8 @@
# import { Sandbox } from 'e2b'
# const sandbox = await Sandbox.create('integration-test-v1')
-team_id = "b9c07023-d095-4bdc-9634-e25d5530ba47"
-memory_mb = 1_024
+team_id = "460355b3-4f64-48f9-9a16-4442817f79f5"
+memory_mb = 512
start_cmd = "npm run dev"
dockerfile = "e2b.Dockerfile"
template_name = "integration-test-v1"