From bcf2a08d315d7c2bdd95443761a20bb84690a67b Mon Sep 17 00:00:00 2001 From: "Siyu Jiang (See-You John)" <91580504+jsy1218@users.noreply.github.com> Date: Wed, 4 Dec 2024 13:28:14 -0800 Subject: [PATCH] fix: increase e2e test runtime memory to avoid OOM (#927) --- bin/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/app.ts b/bin/app.ts index 863d304d86..e669f10d29 100644 --- a/bin/app.ts +++ b/bin/app.ts @@ -342,7 +342,7 @@ export class RoutingAPIPipeline extends Stack { 'echo "ARCHIVE_NODE_RPC=${ARCHIVE_NODE_RPC}" >> .env', 'npm install', 'npm run build', - 'npm run test:e2e', + 'set NODE_OPTIONS=--max-old-space-size=4096 && npm run test:e2e', ], })