Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

tshinnic opened this issue Oct 29, 2011 · 1 comment

Comments

@tshinnic
Copy link
Contributor

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

@mikeal
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants