HBASE-7436 addendum (missed change to test)

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2013-02-13 18:25:26 +00:00
parent 4286acdb2b
commit 98cc234a18
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class TestForeignExceptionDispatcher {
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!");
}