@Test
public void testTryAcquireMultiPermits_whenAvailableWithTimeOut() throws Exception {
final ISemaphore semaphore = client.getSemaphore(randomString());
semaphore.init(10);
assertTrue(semaphore.tryAcquire(5, 1, TimeUnit.MILLISECONDS));
}
@Test
public void testTryAcquireMultiPermits_whenUnAvailableWithTimeOut() throws Exception {
final ISemaphore semaphore = client.getSemaphore(randomString());