test.js fails with both v0.4.12 and v0.5.10 #5

Open
tshinnic opened this Issue Oct 29, 2011 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

tshinnic commented Oct 29, 2011

Perhaps something unique with my test setup? I like running tests first before playing too much, and can't get this to run on either of the latest releases:

Trying with the latest node-v0.4.12 release :

[Tom@TLSF15A filed]$ node -v
v0.4.12

[Tom@TLSF15A filed]$ node test.js
Passed GET file without piping request
Passed GET with if-modified-since
Passed GET with etag
Passed writing files
Passed PUT file with pipe req only
Passed PUT file with pipe req and resp

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: socket hang up
    at Socket.<anonymous> (http.js:1290:45)
    at Socket.emit (events.js:64:17)
    at Array.<anonymous> (net.js:831:12)
    at EventEmitter._tickCallback (node.js:126:26)

With quite a while before the exception is displayed. grepping and comparing I see that these displays were not shown:

      console.log("Passed GET of directory index")
      console.log("Passed GET of directory index, full pipe")

Trying latest node-v0.5.x :

[Tom@TLSF15A filed]$ ../node5 -v
v0.5.10

[Tom@TLSF15A filed]$ ../node5 test.js

node.js:202
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: connect ECONNREFUSED
    at errnoException (net.js:589:11)
    at Object.afterConnect [as oncomplete] (net.js:580:18)

Fedora 15 linux under VMWare

Owner

mikeal commented Nov 1, 2011

i think this is fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment