Commit ab55d75c434 for nodejs

commit ab55d75c434fff79a3e5059a71e2b21edaf8554d
Author: Joyee Cheung <joyeec9h3@gmail.com>
Date:   Thu Nov 19 16:40:46 2026 +0100

    test: make test-v8-collect-gc-profile-minor-ms more robust

    There can be more than one garbage collection triggered by
    one gc() call and it's not controllable by Node.js.
    Update the assertion to check that at least one expected
    GC is there, but don't check that there aren't more.

    Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
    PR-URL: https://github.com/nodejs/node/pull/67547
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>

diff --git a/test/parallel/test-v8-collect-gc-profile-minor-ms.js b/test/parallel/test-v8-collect-gc-profile-minor-ms.js
index 1f00470da6c..848caeb733a 100644
--- a/test/parallel/test-v8-collect-gc-profile-minor-ms.js
+++ b/test/parallel/test-v8-collect-gc-profile-minor-ms.js
@@ -10,7 +10,7 @@ profiler.start();
 global.gc({ type: 'minor', execution: 'sync' });

 const profile = profiler.stop();
-assert.deepStrictEqual(
+assert.partialDeepStrictEqual(
   profile.statistics.map(({ gcType }) => gcType),
   ['MinorMarkSweep'],
 );