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

Fixes bin/kyuri failing to exit when testing something with a keep-alive loop. #24

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

capnregex
Copy link

If there is another nextTick loop in what you are testing, kyuri fails to exit.

adding an else process.exit fixes the problem.

@indexzero
Copy link
Contributor

@pacovell Can you take a look at this? At first glance, it seems like it would be nice to have a --timeout option which is checked here. So that we can wait for slower tests to exit w/o prematurely exiting on others.

@capnregex
Copy link
Author

It looked like the complete flag was not set to true until all of the tests had completed, or an error was caught.

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.

3 participants