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: code that uses setTimeout causes expresso to hang indefinitely #41

Closed
wants to merge 2 commits into from
Closed

Conversation

spmason
Copy link
Contributor

@spmason spmason commented Oct 31, 2010

Hi,

It seems any code that uses setInterval causes expresso to hang and not exit. I assume that this is because setInterval keeps the process alive indefinitely.

My fix: keep a count of the number of test files processed and the number of tests remaining to finish + force the process to exit when everything has been completed. I add another timeout before the force quit just in case any async code is still running.

I've also got a couple of small fixes for failing tests in there.

Thanks,
Steve

This pull request was closed.
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.

None yet

1 participant