Adding more to the tests.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/baf45fbe Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/baf45fbe Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/baf45fbe Branch: refs/heads/master Commit: baf45fbe05dbf3c97630db87fe8269d1c39a1e23 Parents: 0523638 Author: Aaron McCurry <[email protected]> Authored: Thu Oct 10 20:12:18 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Thu Oct 10 20:13:21 2013 -0400 ---------------------------------------------------------------------- .../org/apache/blur/store/blockcache_v2/CacheIndexInputTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/baf45fbe/blur-store/src/test/java/org/apache/blur/store/blockcache_v2/CacheIndexInputTest.java ---------------------------------------------------------------------- diff --git a/blur-store/src/test/java/org/apache/blur/store/blockcache_v2/CacheIndexInputTest.java b/blur-store/src/test/java/org/apache/blur/store/blockcache_v2/CacheIndexInputTest.java index b4ca742..4716d2c 100644 --- a/blur-store/src/test/java/org/apache/blur/store/blockcache_v2/CacheIndexInputTest.java +++ b/blur-store/src/test/java/org/apache/blur/store/blockcache_v2/CacheIndexInputTest.java @@ -24,7 +24,7 @@ import static org.junit.Assert.fail; import java.io.IOException; import java.util.Random; -import org.apache.blur.store.blockcache_v2.cachevalue.ByteArrayCacheValue; +import org.apache.blur.store.blockcache_v2.cachevalue.UnsafeCacheValue; import org.apache.blur.store.buffer.BufferStore; import org.apache.lucene.store.IOContext; import org.apache.lucene.store.IndexInput; @@ -198,7 +198,7 @@ public class CacheIndexInputTest { @Override public CacheValue newInstance(CacheDirectory directory, String fileName, int cacheBlockSize) { - return new ByteArrayCacheValue(cacheBlockSize); + return new UnsafeCacheValue(cacheBlockSize); } @Override
