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

deasync causes premature termination of tests occasionally #7

Closed
tolbertam opened this issue Apr 22, 2016 · 1 comment
Closed

deasync causes premature termination of tests occasionally #7

tolbertam opened this issue Apr 22, 2016 · 1 comment
Labels
Milestone

Comments

@tolbertam
Copy link
Owner

Example

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "ci"
npm ERR! node v5.10.1
npm ERR! npm  v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! cassandra-driver@3.0.2 ci: `mocha test/unit test/integration/short -R mocha-multi`
npm ERR! Exit status 3221225477
npm ERR! 
npm ERR! Failed at the cassandra-driver@3.0.2 ci script 'mocha test/unit test/integration/short -R mocha-multi'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cassandra-driver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     mocha test/unit test/integration/short -R mocha-multi
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cassandra-driver
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls cassandra-driver
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

Possibly related to issue described in sass/node-sass#1283. We could consider following the same approaches, or perhaps consider removing the deasync dependency all together.

This reporter might be a better citizen if it didn't report tests individually anyways, so maybe we should use batches instead on some time interval (every 10 seconds or at some max size maybe?) in a separate timer anyways. The main thing will be to make sure any remaining tests are written before the reporter exits, which maybe challenging since mocha reporters are not callback driven. (similarly see #1)

@tolbertam
Copy link
Owner Author

Fixed in 0.2.1 by #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant