Open ilya-bystrov opened 7 years ago
@ilya-bystrov I'm seeing the same problem in my use as well. In my case redisServer.stop()
completes and the actual server appears to shut down, as prior to calling stop()
I can connect via command-line client but after calling stop()
I can no longer connect. But my Java app will not shut down.
@kstyrc / anyone: Any update on this issue?
Upgrading to the new, currently still managed project fixed this:
<dependency>
<groupId>it.ozimov</groupId>
<artifactId>embedded-redis</artifactId>
<version>0.7.2</version>
</dependency>
It looks like that RedisServer#stop method doesn't terminate corresponding threads. And so App doesn't terminates.
Here is Main class code:
Version:
JDK: