hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject svn commit: r1445802 - /hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java
Date Wed, 13 Feb 2013 18:25:27 GMT
Author: jmhsieh
Date: Wed Feb 13 18:25:26 2013
New Revision: 1445802

URL: http://svn.apache.org/r1445802
Log:
HBASE-7436 addendum (missed change to test)


Modified:
    hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java

Modified: hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java
URL: http://svn.apache.org/viewvc/hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java?rev=1445802&r1=1445801&r2=1445802&view=diff
==============================================================================
--- hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java
(original)
+++ hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java
Wed Feb 13 18:25:26 2013
@@ -68,7 +68,7 @@ public class TestForeignExceptionDispatc
       dispatcher.rethrowException();
       fail("Monitor should have thrown an exception after getting error.");
     } catch (ForeignException ex) {
-      assertTrue("Got an unexpected exception:" + ex, ex == EXTEXN);
+      assertTrue("Got an unexpected exception:" + ex, ex.getCause() == EXTEXN.getCause());
       LOG.debug("Got the testing exception!");
     }
 



Mime
View raw message