Skip to content

Commit be211ef

Browse files
joyeecheungruyadorno
authored andcommitted
test: deflake test-vm-contextified-script-leak
Similar to the test-vm-source-text-module-leak fix, use a snapshot to force a thorough GC in order to prevent false positives. Backport-PR-URL: #49874 PR-URL: #49710 Refs: nodejs/reliability#669 Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 355f10d commit be211ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/es-module/test-vm-contextified-script-leak.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ async function createContextifyScript() {
1313
async importModuleDynamically() {},
1414
});
1515
}
16-
checkIfCollectable(createContextifyScript, 2048);
16+
checkIfCollectable(createContextifyScript, 2048, 512);

0 commit comments

Comments
 (0)