Revert "HBASE-21242 [amv2] Miscellaneous minor log and assign procedure create improvements; ADDENDUM Fix TestHRegionInfo"
This reverts commit a9d3ac23d84dcd728ee08f4262e3d9b31df26b7e. Let me do a better fix, one that does TestHRegionInfo and TestHRegionInfoDisplay
This commit is contained in:
parent
19cb105a7e
commit
5762f879d2
|
@ -339,12 +339,7 @@ public class TestHRegionInfo {
|
|||
origDesc.indexOf(Bytes.toStringBinary(startKey)) +
|
||||
Bytes.toStringBinary(startKey).length());
|
||||
assert(firstPart.equals(firstPartOrig));
|
||||
// The elapsed time may be different in the two Strings since they were calculated at different
|
||||
// times... so, don't include that portion when we compare. It starts with a '('.
|
||||
int indexOfElapsedTime = secondPart.indexOf("(");
|
||||
assertTrue(indexOfElapsedTime > 0);
|
||||
assert(secondPart.substring(0, indexOfElapsedTime).
|
||||
equals(secondPartOrig.substring(0, indexOfElapsedTime)));
|
||||
assert(secondPart.equals(secondPartOrig));
|
||||
}
|
||||
|
||||
private void checkEquality(HRegionInfo h, Configuration conf) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue