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

Fix errors generating coverage reports. #1327

Merged
merged 1 commit into from Jan 6, 2015

Conversation

nylen
Copy link
Member

@nylen nylen commented Dec 26, 2014

server.close() is async, so treat it as such:

http://nodejs.org/api/net.html#net_server_close_callback

This doesn't seem to matter when test files are run in separate
processes using npm test, but it does when they are run in the same
process for the coverage report.

@simov fyi (hopefully this is the only issue with our coverage reporting)

server.close() is async, so treat it as such:

http://nodejs.org/api/net.html#net_server_close_callback

This doesn't seem to matter when test files are run in separate
processes using `npm test`, but it does when they are run in the same
process for the coverage report.
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling bd382d3 on nylen:server-close-async into * on request:master*.

@simov
Copy link
Member

simov commented Dec 26, 2014

Ok, this makes sense, I really haven't looked through all of the tests, I just fixed the ones that were throwing errors.

@nylen
Copy link
Member Author

nylen commented Jan 6, 2015

Sounds good to me, want to merge this, then I'll submit another PR to change test ports to 6767? I forgot about this PR so I'm glad you commented.

simov added a commit that referenced this pull request Jan 6, 2015
Fix errors generating coverage reports.
@simov simov merged commit 3786137 into request:master Jan 6, 2015
nylen added a commit to nylen/request that referenced this pull request Jan 6, 2015
This is a less commonly used port than 8080 so it is less likely to
conflict with other services.  See discussion at request#1327.
nylen added a commit to nylen/request that referenced this pull request Jan 6, 2015
Somehow I missed a whole bunch of these in request#1327.
nylen added a commit to nylen/request that referenced this pull request Jan 14, 2015
This is a less commonly used port than 8080 so it is less likely to
conflict with other services.  See discussion at request#1327.
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

Successfully merging this pull request may close these issues.

None yet

3 participants