Skip to content

Commit 36e2b13

Browse files
committed
Fix RedisLockRegistryTests for current code base
**Auto-cherry-pick to `6.5.x`**
1 parent 3e4e289 commit 36e2b13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spring-integration-redis/src/test/java/org/springframework/integration/redis/util/RedisLockRegistryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ void testInitialiseWithCustomExecutor() {
10211021
@Test
10221022
void noSecondLockOnEviction() throws InterruptedException {
10231023
RedisLockRegistry registry = new RedisLockRegistry(redisConnectionFactory, this.registryKey);
1024-
registry.setRedisLockType(testRedisLockType);
1024+
registry.setRedisLockType(RedisLockType.SPIN_LOCK);
10251025
registry.setCacheCapacity(2);
10261026

10271027
CountDownLatch lock1Latch = new CountDownLatch(1);

0 commit comments

Comments
 (0)