Skip to content

Commit 6f05ee0

Browse files
committed
Run node tests with lower max heap on Windows.
1 parent 95a6a64 commit 6f05ee0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

graal-nodejs/ci.jsonnet

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@ local cicommon = import '../ci/common.jsonnet';
149149
] +
150150
// mx makeinnodeenv requires NASM on Windows.
151151
[gateOnMain + excludePlatforms([common.windows_amd64]) + b for b in [
152-
graalNodeJs + buildAddons + testNode('addons', max_heap='8G') + {name: 'addons'},
153-
graalNodeJs + buildNodeAPI + testNode('node-api', max_heap='8G') + {name: 'node-api'},
154-
graalNodeJs + buildJSNativeAPI + testNode('js-native-api', max_heap='8G') + {name: 'js-native-api'},
152+
graalNodeJs + buildAddons + testNode('addons', max_heap='8G') + maxHeapOnWindows('512M') + {name: 'addons'},
153+
graalNodeJs + buildNodeAPI + testNode('node-api', max_heap='8G') + maxHeapOnWindows('512M') + {name: 'node-api'},
154+
graalNodeJs + buildJSNativeAPI + testNode('js-native-api', max_heap='8G') + maxHeapOnWindows('512M') + {name: 'js-native-api'},
155155
]] +
156156
[gateOnMain + promoteToTarget(common.gate, [common.jdk21 + common.windows_amd64]) + b for b in [
157-
graalNodeJs + vm_env + build + testNode('async-hooks', max_heap='8G') + {name: 'async-hooks'},
158-
graalNodeJs + vm_env + build + testNode('es-module', max_heap='8G') + {name: 'es-module'},
157+
graalNodeJs + vm_env + build + testNode('async-hooks', max_heap='8G') + maxHeapOnWindows('512M') + {name: 'async-hooks'},
158+
graalNodeJs + vm_env + build + testNode('es-module', max_heap='8G') + maxHeapOnWindows('512M') + {name: 'es-module'},
159159
# We run the `sequential` tests with a smaller heap because `test/sequential/test-child-process-pass-fd.js` starts 80 child processes.
160160
graalNodeJs + vm_env + build + testNode('sequential', max_heap='8G') + maxHeapOnWindows('512M') + {name: 'sequential'} +
161161
excludePlatforms([common.darwin_amd64]), # times out on darwin-amd64

0 commit comments

Comments
 (0)