mikeal/filed — Issue #5: test.js fails with both v0.4.12 and v0.5.10
Author: tshinnic
Created: 2011-10-29 20:06:48+00:00
State: open

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. (http.js:1290:45)
at Socket.emit (events.js:64:17)
at Array. (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