semaphore.release();
assertEquals("semaphore@" + partitionKey, semaphore.getName());
assertEquals(partitionKey, semaphore.getPartitionKey());
SemaphoreService service = getNodeEngine(hz).getService(SemaphoreService.SERVICE_NAME);
assertTrue(service.containsSemaphore(semaphore.getName()));
}
@Test
public void testIdGenerator() throws Exception {
String partitionKey = "hazelcast";