Skip to content

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

Open
capnregex wants to merge 5 commits intovowsjs:masterfrom
capnregex:master
Open

Fixes bin/kyuri failing to exit when testing something with a keep-alive loop. #24
capnregex wants to merge 5 commits intovowsjs:masterfrom
capnregex:master

Conversation

@capnregex
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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