Add debug to failing test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1138572 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14500a921b
commit
f389865787
|
@ -87,7 +87,7 @@ public class TestFSTableDescriptors {
|
||||||
@Override
|
@Override
|
||||||
public HTableDescriptor get(byte[] tablename)
|
public HTableDescriptor get(byte[] tablename)
|
||||||
throws TableExistsException, FileNotFoundException, IOException {
|
throws TableExistsException, FileNotFoundException, IOException {
|
||||||
System.out.println(Bytes.toString(tablename));
|
System.out.println(Bytes.toString(tablename) + ", cachehits=" + this.cachehits);
|
||||||
return super.get(tablename);
|
return super.get(tablename);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -103,7 +103,7 @@ public class TestFSTableDescriptors {
|
||||||
htd.addFamily(new HColumnDescriptor("" + i));
|
htd.addFamily(new HColumnDescriptor("" + i));
|
||||||
FSUtils.updateHTableDescriptor(fs, rootdir, htd);
|
FSUtils.updateHTableDescriptor(fs, rootdir, htd);
|
||||||
}
|
}
|
||||||
Thread.sleep(1000);
|
Thread.sleep(2000);
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
assertTrue(htds.get(Bytes.toBytes(name + i)) != null);
|
assertTrue(htds.get(Bytes.toBytes(name + i)) != null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue