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(test): Use manually started timers #116

Closed
wants to merge 1 commit into from

Conversation

dszakallas
Copy link
Contributor

Node v6.3.1 introduced a change the resulted in timers running on schedule. This change duplicated the number of expired timeout callbacks to be handled / iteration.
In our tests, timers with interval 0 were registered multiple times and never deregistered.
This overwhelmed the node process, that's why it crashed.

This PR introduces a change, so that timers have to be started explicitly. This means that in tests that don't rely on them, they won't be started at all.

resolves #114

@gergelyke gergelyke closed this Jul 27, 2016
@gergelyke gergelyke deleted the fix/superfluous-timers branch July 27, 2016 14:43
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.

Memory allocation failure on node v6.3.1
2 participants