0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00

fix hostname for travis

This commit is contained in:
Alex Kocharin 2014-09-25 05:25:48 +04:00
parent 862b1eeed4
commit 91ee928f06

View file

@ -67,7 +67,7 @@ describe('Func', function() {
async.map([server, server2], function(server, cb) {
exec('lsof -p ' + Number(server.pid), function(err, result) {
assert.equal(server.fdlist, result.split('\n').filter(function(q) {
if (q.match(/TCP localhost:55551->localhost:\d+ \(ESTABLISHED\)/)) return false;
if (q.match(/TCP .*->.* \(ESTABLISHED\)/)) return false;
if (q.match(/\/libcrypt-[^\/]+\.so/)) return false;
if (q.match(/\/node_modules\/crypt3\/build\/Release/)) return false;
return true;