diff --git a/test/parallel/test-cluster-basic.js b/test/parallel/test-cluster-basic.js index 443eb23e6af24f..5d9a32c8ae75be 100644 --- a/test/parallel/test-cluster-basic.js +++ b/test/parallel/test-cluster-basic.js @@ -21,6 +21,7 @@ 'use strict'; const common = require('../common'); + const assert = require('assert'); const cluster = require('cluster'); @@ -35,7 +36,7 @@ function forEach(obj, fn) { if (cluster.isWorker) { - require('http').Server(common.noop).listen(0, '127.0.0.1'); + require('http').Server(common.mustNotCall()).listen(0, '127.0.0.1'); } else if (cluster.isMaster) { const checks = {