Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
fix: increase capture limit to allow Windows tests to pass (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
mctavish committed Dec 20, 2023
1 parent cd4dee0 commit 728b90e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test-v8debugapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 728b90e

Please sign in to comment.