<BUG>cache.offsetLock.releaseLockEntry(lockEntry);evictThread.join();</BUG><CONTEXT>evictThread.start();cache.offsetLock.waitForWaiters(lockId, 1);cache.blockEvicted(cacheKey, cache.backingMap.remove(cacheKey), true);cacheAndWaitUntilFlushedToBucket(cache, cacheKey, new CacheTestUtils.ByteArrayCacheable(new byte[10]));<extra_id_0>assertEquals(1L, cache.getBlockCount());assertTrue(cache.getCurrentSize() > 0L);assertTrue("We should have a block!", cache.iterator().hasNext());</CONTEXT>
lock.writeLock().unlock();evictThread.join();