You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2018/01/09 15:39:59 UTC

[2/6] qpid-broker-j git commit: QPID-8061: Fix failing test

QPID-8061: Fix failing test

Cherry picked from master b3f432a


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/43edc06d
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/43edc06d
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/43edc06d

Branch: refs/heads/7.0.x
Commit: 43edc06de778230e375d150c5bea2cc16325b734
Parents: 89259c2
Author: Alex Rudyy <or...@apache.org>
Authored: Fri Dec 8 10:42:00 2017 +0000
Committer: Keith Wall <kw...@apache.org>
Committed: Tue Jan 9 14:54:21 2018 +0000

----------------------------------------------------------------------
 .../java/org/apache/qpid/server/exchange/DirectExchangeTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/43edc06d/broker-core/src/test/java/org/apache/qpid/server/exchange/DirectExchangeTest.java
----------------------------------------------------------------------
diff --git a/broker-core/src/test/java/org/apache/qpid/server/exchange/DirectExchangeTest.java b/broker-core/src/test/java/org/apache/qpid/server/exchange/DirectExchangeTest.java
index b39e959..310876f 100644
--- a/broker-core/src/test/java/org/apache/qpid/server/exchange/DirectExchangeTest.java
+++ b/broker-core/src/test/java/org/apache/qpid/server/exchange/DirectExchangeTest.java
@@ -39,6 +39,7 @@ import org.apache.qpid.server.model.BrokerTestHelper;
 import org.apache.qpid.server.model.Exchange;
 import org.apache.qpid.server.model.Queue;
 import org.apache.qpid.server.model.State;
+import org.apache.qpid.server.model.UnknownConfiguredObjectException;
 import org.apache.qpid.server.model.VirtualHost;
 import org.apache.qpid.server.store.TransactionLogResource;
 import org.apache.qpid.server.virtualhost.MessageDestinationIsAlternateException;
@@ -175,7 +176,7 @@ public class DirectExchangeTest extends QpidTestCase
             _vhost.createChild(Exchange.class, attributes);
             fail("Expected exception is not thrown");
         }
-        catch (IllegalConfigurationException e)
+        catch (UnknownConfiguredObjectException e)
         {
             // pass
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org