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

Wait for on_exit to finish on failure #1164

Conversation

getsnoopy
Copy link
Contributor

The on_exit hook was being called on failure as part of #1157 ,
but the lifecycle system wasn't waiting for the hook to finish (i.e.,
call the callback passed to it) before exiting. This led to unwanted
side effects, so this commit fixes this issue.

The on_exit hook was being called on failure, but the lifecycle
system wasn't waiting for the hook to finish (i.e., call the
callback passed to it) before exiting. This led to unwanted side
effects, so this commit fixes this issue.
@getsnoopy
Copy link
Contributor Author

This should fully fix #1125.

@johanneswuerbach
Copy link
Member

Thanks 🙏

@johanneswuerbach johanneswuerbach merged commit 06d9578 into testem:master Aug 9, 2017
@getsnoopy getsnoopy deleted the getsnoopy/on-exit-hook-wait-for-callback branch August 9, 2017 16:44
@getsnoopy
Copy link
Contributor Author

👍 could you release a new version for this?

@johanneswuerbach
Copy link
Member

Yes, I was waiting for a last PR to land. Released 1.18.2

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

2 participants