From 0e384ac31eb6993585acb5f73bdda65bd0ebc663 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Mon, 18 Sep 2023 23:05:04 +0200 Subject: [PATCH] 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. --- test/es-module/test-vm-contextified-script-leak.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/es-module/test-vm-contextified-script-leak.js b/test/es-module/test-vm-contextified-script-leak.js index 60212dd4bbbf68..a8625fc94d246e 100644 --- a/test/es-module/test-vm-contextified-script-leak.js +++ b/test/es-module/test-vm-contextified-script-leak.js @@ -13,4 +13,4 @@ async function createContextifyScript() { async importModuleDynamically() {}, }); } -checkIfCollectable(createContextifyScript, 2048); +checkIfCollectable(createContextifyScript, 2048, 512);