--- ./test/sequential/test-gc-http-client-onerror.js.orig	2022-06-05 10:18:02.427598802 +0530
+++ ./test/sequential/test-gc-http-client-onerror.js	2022-06-05 10:18:17.627598796 +0530
@@ -6,7 +6,7 @@
 const common = require('../common');
 const onGC = require('../common/ongc');
 
-const cpus = require('os').cpus().length;
+const cpus = 8;
 
 function serverHandler(req, res) {
   req.resume();
