Increase expiration time for RedisLock in test

This commit is contained in:
Artem Bilan
2021-06-17 11:41:24 -04:00
parent d7dfea7bd0
commit dfd577596e

View File

@@ -395,7 +395,7 @@ public class RedisLockRegistryTests extends RedisAvailableTests {
@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);