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

Header test hangs #63

Open
thornjad opened this issue Sep 18, 2018 · 0 comments
Open

Header test hangs #63

thornjad opened this issue Sep 18, 2018 · 0 comments

Comments

@thornjad
Copy link
Contributor

Running npm test or directly running node test/header-test.js hangs. This occurs when running on Linux, and (as reported by @BigBlueHat in #61 (comment)) on bash on Windows in mingw, but interestingly does not hang in cmd.

Here's the output I get on Linux, even after left running for 10 minutes:

$ npm test

> [email protected] test /home/jade/src/thornjad/union
> vows test/*-test.js --spec -i


  ♢ union/after

  When using union a union server with after middleware
    ✓ should preserve the request until the last call

  ♢ union/body-parser

  When using union with connect body parsing via urlencoded() or json() a request to /
    ✓ should respond with a body-decoded object

  ♢ union/double-write

  When using union an http server which attempts to write to the response twice a GET request to /foo
    ✓ it should respond with { 'hello': 'world' }
    ✓ it should not write to the response twice
  When the tests are over
    ✓ the server should close

  ♢ union/ecstatic

  When using union with ecstatic a request to /404.txt (which does not exist)
    ✓ should respond with 404 status code
  When using union with ecstatic a request to /some-file.txt
    ✓ should respond with hello world

  ♢ union/header


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

1 participant