diff --git a/redisson/src/test/java/org/redisson/RedissonSemaphoreTest.java b/redisson/src/test/java/org/redisson/RedissonSemaphoreTest.java index 584f3553a..b7235e6ac 100644 --- a/redisson/src/test/java/org/redisson/RedissonSemaphoreTest.java +++ b/redisson/src/test/java/org/redisson/RedissonSemaphoreTest.java @@ -83,7 +83,7 @@ public class RedissonSemaphoreTest extends BaseConcurrentTest { @Test public void testReducePermits() throws InterruptedException { - RSemaphore s = redisson.getSemaphore("test"); + RSemaphore s = redisson.getSemaphore("test2"); s.trySetPermits(10); s.acquire(10);