Skip to content

Commit 8bf4c46

Browse files
authored
fix(ci): allocate more memory to fix test_vscode MONGOSH-1892 (#2239)
1 parent e8cb08b commit 8bf4c46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/test-vscode.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ cd vscode
1515
npm install --force
1616
rm -rf node_modules/@mongosh
1717
(cd node_modules && ln -s "$mongosh_root_dir/packages" @mongosh)
18-
npm test
18+
# This test can require a lot of memory so we bump the maximum size.
19+
NODE_OPTIONS=--max-old-space-size=4096 npm test
1920
cd /tmp
2021
rm -rf "$test_root_dir"

0 commit comments

Comments
 (0)