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:
Michael Stack 2010-09-24 16:59:42 +00:00
parent d988546130
commit 4163b90a87
1 changed files with 2 additions and 2 deletions

View File

@ -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)