HBASE-7926 SmallTests pollute the META descriptor
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1449782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
97530e300d
commit
4bfa3e27b7
|
@ -34,7 +34,8 @@ import org.junit.Test;
|
|||
public class TestHColumnDescriptor {
|
||||
@Test
|
||||
public void testPb() throws DeserializationException {
|
||||
HColumnDescriptor hcd = HTableDescriptor.META_TABLEDESC.getColumnFamilies()[0];
|
||||
HColumnDescriptor hcd = new HColumnDescriptor(
|
||||
HTableDescriptor.META_TABLEDESC.getColumnFamilies()[0]);
|
||||
final int v = 123;
|
||||
hcd.setBlocksize(v);
|
||||
hcd.setTimeToLive(v);
|
||||
|
|
|
@ -42,7 +42,7 @@ public class TestHTableDescriptor {
|
|||
|
||||
@Test
|
||||
public void testPb() throws DeserializationException, IOException {
|
||||
HTableDescriptor htd = HTableDescriptor.META_TABLEDESC;
|
||||
HTableDescriptor htd = new HTableDescriptor(HTableDescriptor.META_TABLEDESC);
|
||||
final int v = 123;
|
||||
htd.setMaxFileSize(v);
|
||||
htd.setDeferredLogFlush(true);
|
||||
|
|
Loading…
Reference in New Issue