From c816f21f16d0b4ff015f77cd519b257eff972b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sun, 25 Sep 2022 18:39:33 +0200 Subject: [PATCH] test: adapt test-v8-stats for V8 update --- test/parallel/test-v8-stats.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-v8-stats.js b/test/parallel/test-v8-stats.js index 2eaa3c5b060..d7360db0330 100644 --- a/test/parallel/test-v8-stats.js +++ b/test/parallel/test-v8-stats.js @@ -47,6 +47,8 @@ const expectedHeapSpaces = [ 'new_space', 'old_space', 'read_only_space', + 'shared_large_object_space', + 'shared_space', ]; const heapSpaceStatistics = v8.getHeapSpaceStatistics(); const actualHeapSpaceNames = heapSpaceStatistics.map((s) => s.space_name);