You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2013/02/13 19:25:27 UTC
svn commit: r1445802 -
/hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java
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!");
}