nodejitsu/nssocket — Issue #4: Recently added tests fail
Author: indexzero
Created: 2011-12-09 15:20:43+00:00
State: open

@mmalecki Can you investigate this?

``` js
$ npm test
npm info it worked if it ends with ok
npm info using npm@1.0.106
npm info using node@v0.4.12
npm info pretest nssocket@0.3.4
npm info test nssocket@0.3.4

> nssocket@0.3.4 test /Users/Charlie/Nodejitsu/nssocket
> vows test/*-test.js --spec

♢ nssocket/create-server

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ENOENT, No such file or directory
at doConnect (net.js:549:5)
at Socket.connect (net.js:709:5)
at [object Object].connect (/Users/Charlie/Nodejitsu/nssocket/lib/nssocket.js:278:23)
at Object. (/Users/Charlie/Nodejitsu/nssocket/test/create-server-test.js:28:26)
at run (/Users/Charlie/Nodejitsu/nssocket/node_modules/vows/lib/vows/suite.js:132:31)
at EventEmitter. (/Users/Charlie/Nodejitsu/nssocket/node_modules/vows/lib/vows/suite.js:221:40)
at EventEmitter. (events.js:81:20)
at EventEmitter.emit (/Users/Charlie/Nodejitsu/nssocket/node_modules/vows/lib/vows.js:236:24)
at Array. (/Users/Charlie/Nodejitsu/nssocket/node_modules/vows/lib/vows/suite.js:162:45)
at EventEmitter._tickCallback (node.js:126:26)
```

It is specifically this test which I don't expect would work because the proper `unix` socket type is not getting passed through: https://github.com/nodejitsu/nssocket/blob/master/test/create-server-test.js#L60

I am going to comment out the offending tests for now.