diff --git a/redisson/src/test/java/org/redisson/RedissonBlockingDequeTest.java b/redisson/src/test/java/org/redisson/RedissonBlockingDequeTest.java index e64e0f10b..d48003843 100644 --- a/redisson/src/test/java/org/redisson/RedissonBlockingDequeTest.java +++ b/redisson/src/test/java/org/redisson/RedissonBlockingDequeTest.java @@ -2,6 +2,7 @@ package org.redisson; import org.awaitility.Awaitility; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; import org.redisson.api.RBlockingDeque; import org.redisson.api.queue.DequeMoveArgs; @@ -17,6 +18,8 @@ public class RedissonBlockingDequeTest extends BaseTest { @Test public void testMove() { + Assumptions.assumeTrue(RedisRunner.getDefaultRedisServerInstance().getRedisVersion().compareTo("6.2.0") > 0); + RBlockingDeque deque1 = redisson.getBlockingDeque("deque1"); RBlockingDeque deque2 = redisson.getBlockingDeque("deque2");