File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM e2bdev/code-interpreter:latest
22
3+ # Install stess-ng, a tool to load and stress computer systems
4+ RUN apt update
5+ RUN apt install -y stress-ng
6+
37# Create a basic Next.js app
4- RUN npx -y create-next-app@latest test --yes --ts --use-npm
8+ RUN npx -y create-next-app@latest basic-nextjs-app --yes --ts --use-npm
59
610# Install dependencies
711RUN cd basic-nextjs-app && npm install
Original file line number Diff line number Diff line change 1010# import { Sandbox } from 'e2b'
1111# const sandbox = await Sandbox.create('integration-test-v1')
1212
13- team_id = " b9c07023-d095-4bdc-9634-e25d5530ba47 "
14- memory_mb = 1_024
13+ team_id = " 460355b3-4f64-48f9-9a16-4442817f79f5 "
14+ memory_mb = 512
1515start_cmd = " npm run dev"
1616dockerfile = " e2b.Dockerfile"
1717template_name = " integration-test-v1"
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ sandboxTest.skipIf(isDebug)(
5656 sandboxId : string
5757 code : number
5858 }
59- assert . equal ( json . message , 'Sandbox not found' )
59+ assert . equal ( json . message , 'The sandbox was not found' )
6060 assert . isTrue ( sandbox . sandboxId . startsWith ( json . sandboxId ) )
61- assert . equal ( json . code , 0 )
61+ assert . equal ( json . code , 502 )
6262 }
6363)
You can’t perform that action at this time.
0 commit comments