hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1000966 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java
Date Fri, 24 Sep 2010 16:59:42 GMT
Author: stack
Date: Fri Sep 24 16:59:42 2010
New Revision: 1000966

URL: http://svn.apache.org/viewvc?rev=1000966&view=rev
Log:
Fix broke TestHLogSplit test

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java?rev=1000966&r1=1000965&r2=1000966&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java
(original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java
Fri Sep 24 16:59:42 2010
@@ -142,8 +142,8 @@ public class TestHLogSplit {
       new HLog.Entry(new HLogKey(encoded, HConstants.META_TABLE_NAME, 1, now),
       new WALEdit());
     Path p = HLog.getRegionSplitEditsPath(fs, entry, new Path("/"));
-    assertEquals(p.getParent().getParent(),
-      HRegionInfo.FIRST_META_REGIONINFO.getEncodedName());
+    String parentOfParent = p.getParent().getParent().getName();
+    assertEquals(parentOfParent, HRegionInfo.FIRST_META_REGIONINFO.getEncodedName());
   }
 
   @Test(expected = IOException.class)



Mime
View raw message