@ -13,6 +13,14 @@ import org.redisson.api.RSemaphore;
public class RedissonSemaphoreTest extends BaseConcurrentTest {
@Test
public void testAcquireWithoutSetPermits() throws InterruptedException {
RSemaphore s = redisson.getSemaphore("test");
s.release();
s.acquire(2);
}
public void testTrySetPermits() {