Skip to content

Commit 6589a2b

Browse files
committed
another attempt
1 parent dd94792 commit 6589a2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test-vscode.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ npm -v
77
# we pick a target directory that is not affected by the mongosh node_modules directory
88
mongosh_root_dir=$PWD
99
test_root_dir=/tmp/mongosh-vscode-test
10-
export NODE_OPTIONS=--max-old-space-size=2048
10+
export NODE_OPTIONS=--max-old-space-size=4096
1111
export SEGMENT_KEY=GtEn04CBjn39g6A0BxldDf81YGFONOz7 # fresh from /dev/urandom
1212
rm -rf "$test_root_dir" && mkdir -p "$test_root_dir"
1313
cd "$test_root_dir"
@@ -16,6 +16,6 @@ cd vscode
1616
npm install --force
1717
rm -rf node_modules/@mongosh
1818
(cd node_modules && ln -s "$mongosh_root_dir/packages" @mongosh)
19-
npm test
19+
NODE_OPTIONS=--max-old-space-size=4096 npm test
2020
cd /tmp
2121
rm -rf "$test_root_dir"

0 commit comments

Comments
 (0)