From f3e9fd7a0007911c3d36d60c741d395c306d147c Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Wed, 22 Jun 2022 21:55:53 +0100 Subject: [PATCH] test: skip test-v8-serialize-leak on IBM i On IBM i rss memory information is not available and always returns `0`. PR-URL: https://github.com/nodejs/node/pull/43511 Refs: https://github.com/nodejs/node/issues/43509 Refs: https://github.com/libuv/libuv/pull/2732 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- test/parallel/test-v8-serialize-leak.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-v8-serialize-leak.js b/test/parallel/test-v8-serialize-leak.js index 4e3a1d96f8ad6e..a90c398adcdaf3 100644 --- a/test/parallel/test-v8-serialize-leak.js +++ b/test/parallel/test-v8-serialize-leak.js @@ -1,7 +1,12 @@ 'use strict'; // Flags: --expose-gc -require('../common'); +const common = require('../common'); + +// On IBMi, the rss memory always returns zero +if (common.isIBMi) + common.skip('On IBMi, the rss memory always returns zero'); + const v8 = require('v8'); const assert = require('assert');