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:
Michael Stack 2011-06-22 18:30:24 +00:00
parent 14500a921b
commit f389865787
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public class TestFSTableDescriptors {
@Override
public HTableDescriptor get(byte[] tablename)
throws TableExistsException, FileNotFoundException, IOException {
System.out.println(Bytes.toString(tablename));
System.out.println(Bytes.toString(tablename) + ", cachehits=" + this.cachehits);
return super.get(tablename);
}
};
@ -103,7 +103,7 @@ public class TestFSTableDescriptors {
htd.addFamily(new HColumnDescriptor("" + i));
FSUtils.updateHTableDescriptor(fs, rootdir, htd);
}
Thread.sleep(1000);
Thread.sleep(2000);
for (int i = 0; i < count; i++) {
assertTrue(htds.get(Bytes.toBytes(name + i)) != null);
}