mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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. PR-URL: https://github.com/nodejs/node/pull/49710 Refs: https://github.com/nodejs/reliability/issues/669 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
e329a11515
commit
017998971b
@ -13,4 +13,4 @@ async function createContextifyScript() {
|
||||
async importModuleDynamically() {},
|
||||
});
|
||||
}
|
||||
checkIfCollectable(createContextifyScript, 2048);
|
||||
checkIfCollectable(createContextifyScript, 2048, 512);
|
||||
|
Loading…
Reference in New Issue
Block a user