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

thread interrupts are lost in expect4j #20

Open
iamjgonzalez opened this issue Sep 13, 2016 · 0 comments
Open

thread interrupts are lost in expect4j #20

iamjgonzalez opened this issue Sep 13, 2016 · 0 comments

Comments

@iamjgonzalez
Copy link

iamjgonzalez commented Sep 13, 2016

When using expect4j, thread interrupts are being lost. The expect4j Consumers are handling the InterruptedException in waitForBuffer but the exception is only logged so the Thread interrupt status is cleared and the calling thread is not aware that it should stop after returning from the expect4j call.

Can the Consumers be updated to either rethrow the Interrupted Exception or set the interrupt status again?

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

No branches or pull requests

1 participant