diff --git a/test/sequential/sequential.status b/test/sequential/sequential.status index 073b29cce8dbca..6b9d452505f76f 100644 --- a/test/sequential/sequential.status +++ b/test/sequential/sequential.status @@ -49,10 +49,6 @@ test-tls-securepair-client: PASS, FLAKY # https://github.com/nodejs/node/issues/49933 test-watch-mode-inspect: SKIP -[$arch==s390x] -# https://github.com/nodejs/node/issues/41286 -test-performance-eventloopdelay: PASS, FLAKY - [$system==linux && $arch==ppc64] # https://github.com/nodejs/node/issues/50740 test-single-executable-application-assets-raw: PASS, FLAKY diff --git a/test/sequential/test-performance-eventloopdelay.js b/test/sequential/test-performance-eventloopdelay.js index 0bc1758113e480..0d38300d7b3a15 100644 --- a/test/sequential/test-performance-eventloopdelay.js +++ b/test/sequential/test-performance-eventloopdelay.js @@ -3,6 +3,7 @@ const common = require('../common'); const assert = require('assert'); +const os = require('os'); const { monitorEventLoopDelay } = require('perf_hooks'); @@ -51,9 +52,13 @@ const { sleep } = require('internal/util'); } { + const s390x = os.arch() === 's390x'; const histogram = monitorEventLoopDelay({ resolution: 1 }); histogram.enable(); let m = 5; + if (s390x) { + m = m * 2; + } function spinAWhile() { sleep(1000); if (--m > 0) {