From 98cc234a18302980ac73e18dde404e97dcd5e595 Mon Sep 17 00:00:00 2001 From: Jonathan Hsieh Date: Wed, 13 Feb 2013 18:25:26 +0000 Subject: [PATCH] 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 --- .../hbase/errorhandling/TestForeignExceptionDispatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java index c969ae40312..0e876a45b99 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java @@ -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!"); }