From e71cb6e756133f99638f523a30d80990dac4c888 Mon Sep 17 00:00:00 2001 From: iliapolo Date: Wed, 19 Mar 2025 08:35:03 +0200 Subject: [PATCH] mid work --- packages/@aws-cdk-testing/cli-integ/lib/with-sam.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/@aws-cdk-testing/cli-integ/lib/with-sam.ts b/packages/@aws-cdk-testing/cli-integ/lib/with-sam.ts index 5e09762..65a5aef 100644 --- a/packages/@aws-cdk-testing/cli-integ/lib/with-sam.ts +++ b/packages/@aws-cdk-testing/cli-integ/lib/with-sam.ts @@ -138,6 +138,9 @@ export class SamIntegrationTestFixture extends TestFixture { args.push('--port'); args.push(port.toString()); + // https://github.com/aws/aws-sam-cli/pull/7892 + args.push('--no-memory-limit') + // "Press Ctrl+C to quit" looks to be printed by a Flask server built into SAM CLI. return this.samShell(['sam', 'local', 'start-api', ...args], 'Press CTRL+C to quit', ()=>{ return new Promise((resolve, reject) => {