activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [03/48] activemq-artemis git commit: Fix MessageProducerTest
Date Wed, 23 Nov 2016 17:43:04 GMT
Fix MessageProducerTest


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/c5a95f9d
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/c5a95f9d
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/c5a95f9d

Branch: refs/heads/ARTEMIS-780
Commit: c5a95f9d54a1479df70af88ec22eb0d5abbc92b6
Parents: 20a4616
Author: jbertram <jbertram@apache.com>
Authored: Mon Nov 14 14:07:13 2016 -0600
Committer: jbertram <jbertram@apache.com>
Committed: Tue Nov 15 10:36:42 2016 -0600

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/jms/tests/MessageProducerTest.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c5a95f9d/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/MessageProducerTest.java
----------------------------------------------------------------------
diff --git a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/MessageProducerTest.java
b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/MessageProducerTest.java
index da171cb..fc97cd4 100644
--- a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/MessageProducerTest.java
+++ b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/MessageProducerTest.java
@@ -340,6 +340,7 @@ public class MessageProducerTest extends JMSTestCase {
    @Test
    public void testCreateProducerOnInexistentDestination() throws Exception {
       getJmsServer().getAddressSettingsRepository().addMatch("#", new AddressSettings().setAutoCreateJmsQueues(false));
+      getJmsServer().getAddressSettingsRepository().addMatch("#", new AddressSettings().setAutoCreateJmsTopics(false));
       Connection pconn = createConnection();
       try {
          Session ps = pconn.createSession(false, Session.AUTO_ACKNOWLEDGE);


Mime
View raw message