Skip to content

Commit

Permalink
fix(tests): stop leaking redis processes
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Sep 11, 2018
1 parent 0711204 commit 669a37b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public class EmbeddedRedisConfiguration {
return redis;
}

@Bean public Pool<Jedis> jedisPool() {
return redisServer().getPool();
@Bean public Pool<Jedis> jedisPool(EmbeddedRedis redisServer) {
return redisServer.getPool();
}

@Bean public RedisClientDelegate redisClientDelegate(Pool<Jedis> jedisPool) {
Expand Down

0 comments on commit 669a37b

Please sign in to comment.