HBASE-451 relax cachehits check in TestFSTableDescriptors
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147345 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fdd0d9f3e3
commit
547394ad0f
|
@ -116,7 +116,7 @@ public class TestFSTableDescriptors {
|
||||||
}
|
}
|
||||||
assertEquals(count * 4, htds.invocations);
|
assertEquals(count * 4, htds.invocations);
|
||||||
assertTrue("expected=" + (count * 2) + ", actual=" + htds.cachehits,
|
assertTrue("expected=" + (count * 2) + ", actual=" + htds.cachehits,
|
||||||
htds.cachehits == (count * 2));
|
htds.cachehits >= (count * 2));
|
||||||
assertTrue(htds.get(HConstants.ROOT_TABLE_NAME) != null);
|
assertTrue(htds.get(HConstants.ROOT_TABLE_NAME) != null);
|
||||||
assertEquals(htds.invocations, count * 4 + 1);
|
assertEquals(htds.invocations, count * 4 + 1);
|
||||||
assertTrue("expected=" + ((count * 2) + 1) + ", actual=" + htds.cachehits,
|
assertTrue("expected=" + ((count * 2) + 1) + ", actual=" + htds.cachehits,
|
||||||
|
|
Loading…
Reference in New Issue