Skip to content

Commit

Permalink
Increase expiration time for RedisLock in test
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Jun 17, 2021
1 parent d7dfea7 commit dfd5775
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public void testEquals() {
@Test
@RedisAvailable
public void testThreadLocalListLeaks() {
RedisLockRegistry registry = new RedisLockRegistry(getConnectionFactoryForTest(), this.registryKey, 100);
RedisLockRegistry registry = new RedisLockRegistry(getConnectionFactoryForTest(), this.registryKey, 10000);

for (int i = 0; i < 10; i++) {
registry.obtain("foo" + i);
Expand Down

0 comments on commit dfd5775

Please sign in to comment.