-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Hanging after assert.deepEqual #1915
Comments
Created an issue on |
I am a bot that watches issues for inactivity. |
This could be the same problem as described in this issue: chaijs/chai#1109. I've provided a workaround (at least for chai). |
I have run into a problem where mocha hangs forever in garbage collection using 100% cpu rather then ending.
I have narrowed all this down to a simple test case I have created in this repo.
I am using node version
v0.10.35
.You can replicate the error by doing:
You will note however, that simply running
node ./index.js
will not hang and will just output the exception thrown fromassert.deepEqual
.I traced back the last working version of this with mocha and it works properly with
2.2.1
but fails with later versions of mocha.Here is a screen cap of a sample of the process while hung, as you can see it seems to be stuck doing garbage collection.
The text was updated successfully, but these errors were encountered: