From 728b90ebdd6f73081261019f3d4d2c4ce121bea6 Mon Sep 17 00:00:00 2001 From: James McTavish Date: Wed, 20 Dec 2023 15:06:55 -0500 Subject: [PATCH] fix: increase capture limit to allow Windows tests to pass (#1188) --- test/test-v8debugapi.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test-v8debugapi.ts b/test/test-v8debugapi.ts index d907fbaf..0a843c6f 100644 --- a/test/test-v8debugapi.ts +++ b/test/test-v8debugapi.ts @@ -1123,13 +1123,13 @@ describe('v8debugapi', () => { const bp: stackdriver.Breakpoint = { id: 'fake-id-124', // TODO(dominickramer): This path can be lest strict when this file has - // been - // converted to Typescript. + // been converted to Typescript. location: {path: 'build/test/test-v8debugapi-code.js', line: 10}, expressions: ['process.env', 'hasGetter'], } as {} as stackdriver.Breakpoint; const oldMaxData = config.capture.maxDataSize; - config.capture.maxDataSize = 20000; + // Note the boosted maxDataSize to accommodate tests run on Windows. + config.capture.maxDataSize = 200000; api.set(bp, err1 => { assert.ifError(err1); api.wait(bp, err2 => {