@Test
public void testTTLLeak() throws Exception {
Storage storageM = createStorage();
testTTLLeak(new StorageLayer(storageM));
Assert.assertEquals(0, storageM.subMapTimeout(Long.MAX_VALUE).size());
storageM.close();
}
private void testTTLLeak(StorageLayer storage) throws Exception {
Data data = new Data("string");