Skip to content

Failing test connecting to non-default namespace #1681

@fdellabetta

Description

@fdellabetta

Test is failing with Error: timeout of 2000ms exceeded
Ubuntu 14.04 x64, node.js 0.10.29, socket.io 1.0.6

it('should pass errors when connecting to non-default namespace', function(done){
  var srv = http();
  var sio = io(srv);
  sio.use(function(socket, next){
    next(new Error('Authentication error'))
  });
  srv.listen(function(){
    var socket = client(srv,'/ns');
    socket.on('error', function(err){
      expect(err).to.be('Authentication error');
      done();
    });
  });
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions