incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/3] git commit: Adding more to the tests.
Date Fri, 11 Oct 2013 00:47:16 GMT
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/0adac9ef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/0adac9ef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/0adac9ef

Branch: refs/heads/apache-blur-0.2
Commit: 0adac9ef5d309c766f7e200caa444f1e58db1689
Parents: 21b6f30
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Oct 10 20:12:18 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Oct 10 20:12:18 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/0adac9ef/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


Mime
View raw message