accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-2543 close the cacheblock
Date Tue, 25 Mar 2014 14:43:45 GMT
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 <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: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();
   }
 }


Mime
View raw message