You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2014/03/25 15:43:45 UTC

git commit: ACCUMULO-2543 close the cacheblock

Repository: accumulo
Updated Branches:
  refs/heads/1.5.2-SNAPSHOT e6748a8dc -> ba48f030b


ACCUMULO-2543 close the cacheblock


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/ba48f030
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/ba48f030
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/ba48f030

Branch: refs/heads/1.5.2-SNAPSHOT
Commit: ba48f030b1c3f8b249b32f55e9a6b952da28c178
Parents: e6748a8
Author: Eric C. Newton <er...@gmail.com>
Authored: Tue Mar 25 10:37:52 2014 -0400
Committer: Eric C. Newton <er...@gmail.com>
Committed: Tue Mar 25 10:41:06 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/core/file/rfile/BlockIndexTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/ba48f030/core/src/test/java/org/apache/accumulo/core/file/rfile/BlockIndexTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/accumulo/core/file/rfile/BlockIndexTest.java b/core/src/test/java/org/apache/accumulo/core/file/rfile/BlockIndexTest.java
index 4a78fb7..f293718 100644
--- a/core/src/test/java/org/apache/accumulo/core/file/rfile/BlockIndexTest.java
+++ b/core/src/test/java/org/apache/accumulo/core/file/rfile/BlockIndexTest.java
@@ -112,6 +112,7 @@ public class BlockIndexTest {
       Assert.assertEquals(rk.getKey(), new Key(RFileTest.nf("", row + 1), "cf1", "cq1"));
 
     }
+    cacheBlock.close();
   }
 
   @Test
@@ -170,6 +171,6 @@ public class BlockIndexTest {
       
       Assert.assertTrue(rk.getKey().compareTo(seekKey) <= 0);
     }
-
+    cacheBlock.close();
   }
 }