You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2015/02/18 15:28:35 UTC

qpid-jms git commit: Turn off scheduler in the broker unless a test needs it.

Repository: qpid-jms
Updated Branches:
  refs/heads/master 5d2f656a7 -> 910e9b74e


Turn off scheduler in the broker unless a test needs it. 

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/910e9b74
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/910e9b74
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/910e9b74

Branch: refs/heads/master
Commit: 910e9b74eb36b881bcfc43d51da1b99914845f79
Parents: 5d2f656
Author: Timothy Bish <ta...@gmail.com>
Authored: Wed Feb 18 09:28:27 2015 -0500
Committer: Timothy Bish <ta...@gmail.com>
Committed: Wed Feb 18 09:28:27 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/qpid/jms/support/QpidJmsTestSupport.java    | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/910e9b74/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
----------------------------------------------------------------------
diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
index 5f7dc1e..11e2ddf 100644
--- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
+++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
@@ -143,6 +143,10 @@ public class QpidJmsTestSupport {
         return false;
     }
 
+    protected boolean isSchedulerSupport() {
+        return false;
+    }
+
     protected BrokerService createBroker(String name, boolean deleteAllMessages) throws Exception {
         return createBroker(name, deleteAllMessages, Collections.<String, Integer> emptyMap());
     }
@@ -156,6 +160,7 @@ public class QpidJmsTestSupport {
         BrokerService brokerService = new BrokerService();
         brokerService.setBrokerName(name);
         brokerService.setPersistent(isPersistent());
+        brokerService.setSchedulerSupport(isSchedulerSupport());
         brokerService.setAdvisorySupport(isAdvisorySupport());
         brokerService.setDeleteAllMessagesOnStartup(deleteAllMessages);
         brokerService.setUseJmx(true);


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