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

When calling RedisServer.stop, disconnect existing clients #202

Closed
bluecontainer opened this issue Mar 21, 2022 · 0 comments
Closed

When calling RedisServer.stop, disconnect existing clients #202

bluecontainer opened this issue Mar 21, 2022 · 0 comments
Labels

Comments

@bluecontainer
Copy link

Currently RedisServer.stop will prevent new connections but will not disconnect existing clients. The change to the RedisServer.stop to also disconnect existing clients will allow for more complete testing in client code for disconnection.

bluecontainer pushed a commit to bluecontainer/jedis-mock that referenced this issue Mar 21, 2022
* close client sockets in RedisService
* set service to null in RedisServer after calling stop
* update test to handle exception in Jedis client after calling RedisServer.stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants