Fix broke TestHLogSplit test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d988546130
commit
4163b90a87
|
@ -142,8 +142,8 @@ public class TestHLogSplit {
|
||||||
new HLog.Entry(new HLogKey(encoded, HConstants.META_TABLE_NAME, 1, now),
|
new HLog.Entry(new HLogKey(encoded, HConstants.META_TABLE_NAME, 1, now),
|
||||||
new WALEdit());
|
new WALEdit());
|
||||||
Path p = HLog.getRegionSplitEditsPath(fs, entry, new Path("/"));
|
Path p = HLog.getRegionSplitEditsPath(fs, entry, new Path("/"));
|
||||||
assertEquals(p.getParent().getParent(),
|
String parentOfParent = p.getParent().getParent().getName();
|
||||||
HRegionInfo.FIRST_META_REGIONINFO.getEncodedName());
|
assertEquals(parentOfParent, HRegionInfo.FIRST_META_REGIONINFO.getEncodedName());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(expected = IOException.class)
|
@Test(expected = IOException.class)
|
||||||
|
|
Loading…
Reference in New Issue