@Override
    public void addPermits(int permits) {
        get(addPermitsAsync(permits));
    }
@Test
    public void testAddPermits() throws InterruptedException {
        RSemaphore s = redisson.getSemaphore("test");
        s.trySetPermits(10);

        s.acquire(10);
        assertThat(s.availablePermits()).isEqualTo(0);
        s.addPermits(4);
        assertThat(s.availablePermits()).isEqualTo(4);
        s.release(10);
        assertThat(s.availablePermits()).isEqualTo(14);
        s.acquire(5);
        assertThat(s.availablePermits()).isEqualTo(9);
    }