11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciconst common = require('../common'); 41cb0ef41Sopenharmony_ciconst net = require('net'); 51cb0ef41Sopenharmony_ciconst server = net.createServer(); 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ci// This test was based on an error raised by Haraka. 81cb0ef41Sopenharmony_ci// It caused server.getConnections to raise an exception. 91cb0ef41Sopenharmony_ci// Ref: https://github.com/haraka/Haraka/pull/1951 101cb0ef41Sopenharmony_ci 111cb0ef41Sopenharmony_ciserver.getConnections(common.mustCall()); 12