HBASE-4768 Addendum removes unnecessary assertion
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1202419 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f423daca0
commit
0ab2272833
|
@ -501,7 +501,6 @@ public class TestHFileBlock {
|
||||||
ByteBuffer buf = ByteBuffer.wrap(byteArr, 0, size);
|
ByteBuffer buf = ByteBuffer.wrap(byteArr, 0, size);
|
||||||
HFileBlock block = new HFileBlock(BlockType.DATA, size, size, -1, buf,
|
HFileBlock block = new HFileBlock(BlockType.DATA, size, size, -1, buf,
|
||||||
true, -1);
|
true, -1);
|
||||||
assertEquals(80, HFileBlock.BYTE_BUFFER_HEAP_SIZE);
|
|
||||||
long byteBufferExpectedSize =
|
long byteBufferExpectedSize =
|
||||||
ClassSize.align(ClassSize.estimateBase(buf.getClass(), true)
|
ClassSize.align(ClassSize.estimateBase(buf.getClass(), true)
|
||||||
+ HFileBlock.HEADER_SIZE + size);
|
+ HFileBlock.HEADER_SIZE + size);
|
||||||
|
|
Loading…
Reference in New Issue