@Override
    public void lock() {
        try {
            lock(-1, null, false);
        } catch (InterruptedException e) {
            throw new IllegalStateException();
        }
    }
@Test
    public void testInCluster() throws Exception {
        testInCluster(redisson -> {
            for (int i = 0; i < 3; i++) {
                RLock lock = redisson.getLock("myLock");
                lock.lock();
                assertThat(lock.isLocked()).isTrue();
                lock.unlock();
                assertThat(lock.isLocked()).isFalse();
            }
        });
    }