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

chore(package): update mocha to version 4.0.1 #215

Merged
merged 2 commits into from
Nov 9, 2017

Conversation

bergie
Copy link
Member

@bergie bergie commented Nov 8, 2017

Closes #207

@bergie
Copy link
Member Author

bergie commented Nov 8, 2017

Kind of curious how the build hangs after all tests pass. Seeing same behavior with noflo/noflo-runtime-websocket#77

@jonnor ideas?

@jonnor
Copy link
Member

jonnor commented Nov 8, 2017

@bergie Mocha 4 will no longer forcefully stop the tests when done. So any nodejs thing still active will keep it hanging. Mentioned in its changelog

@bergie
Copy link
Member Author

bergie commented Nov 8, 2017

@jonnor ok, so the issue is that we have some MQTT/AMQP connections left hanging or somesuch?

@jonnor
Copy link
Member

jonnor commented Nov 8, 2017

Yes or any other deferred thing, like a setInterval. msgflo-nodejs is happy with Mocha 4 though. Probably need to check with one of the Nodejs debugging tools for this kind of problem

@bergie
Copy link
Member Author

bergie commented Nov 9, 2017

Here is a way to see what's hanging: https://stackoverflow.com/a/32617487/263570

@bergie bergie merged commit 829e023 into master Nov 9, 2017
@bergie bergie deleted the greenkeeper/mocha-4.0.1 branch November 9, 2017 10:58
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.

2 participants