accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/5] git commit: ACCUMULO-2543 close the cacheblock
Date Tue, 25 Mar 2014 14:44:18 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 2412419af -> b40ce8e58


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/1970b58d
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1970b58d
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1970b58d

Branch: refs/heads/master
Commit: 1970b58dbf0877cc425097e5895ac680432e0a6d
Parents: 9f6cc39
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Tue Mar 25 10:37:52 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Tue Mar 25 10:37:52 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/1970b58d/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();
   }
 }


Mime
View raw message