-
Notifications
You must be signed in to change notification settings - Fork 65
acceptance test hang, both with expresso and mocha #38
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
Comments
It looks like it only hangs when the test runs against a PostgreSQL version < 9.0 -- may have to do with unhandled exceptions making the caller starve while waiting on a callback. Issue #26 might be related (isn't clear). |
While app.test.js only hangs with wrong PostgreSQL, app.auth.test.js hangs anyway (maybe it's waiting for OAuth server) |
The hanging bug seems still related to the |
Same issue with pg 0.6.18 and 0.7.2 |
I wonder if this has to do with the |
Hanging of app.test could be due to a bug in the node-postgresql project: brianc/node-postgres#137 |
On a reduced app.test.js I only get 6 issued requests over 7 calls to assert.response. |
I've reduced an hanging testcase so to have nothing to do with CartoDB-SQL-API, nor express. |
Found a workaround: adding "agent: false" in the http.request options in test/support/assert.js ! |
The other test was also having another kind of hanging, but it's been fixed with 8fb6587 So all done here! |
both acceptance tests hang, with both expresso and mocha, must be some callback never being invoked...
The text was updated successfully, but these errors were encountered: