From 0ab2272833ebc0e7010d5af893c55562b5dfc216 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Tue, 15 Nov 2011 20:57:35 +0000 Subject: [PATCH] HBASE-4768 Addendum removes unnecessary assertion git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1202419 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java b/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java index a2054e7fc4e..073f282b287 100644 --- a/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java +++ b/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java @@ -501,7 +501,6 @@ public class TestHFileBlock { ByteBuffer buf = ByteBuffer.wrap(byteArr, 0, size); HFileBlock block = new HFileBlock(BlockType.DATA, size, size, -1, buf, true, -1); - assertEquals(80, HFileBlock.BYTE_BUFFER_HEAP_SIZE); long byteBufferExpectedSize = ClassSize.align(ClassSize.estimateBase(buf.getClass(), true) + HFileBlock.HEADER_SIZE + size);