activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1075887 - in /activemq/trunk/activemq-spring/src/test: java/org/apache/bugs/LoadBalanceTest.java resources/org/apache/bugs/loadbalancetest.xml
Date Tue, 01 Mar 2011 16:29:24 GMT
Author: gtully
Date: Tue Mar  1 16:29:24 2011
New Revision: 1075887

URL: http://svn.apache.org/viewvc?rev=1075887&view=rev
Log:
make test more deterministic to avert hudson failure

Modified:
    activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java
    activemq/trunk/activemq-spring/src/test/resources/org/apache/bugs/loadbalancetest.xml

Modified: activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java?rev=1075887&r1=1075886&r2=1075887&view=diff
==============================================================================
--- activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java (original)
+++ activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java Tue
Mar  1 16:29:24 2011
@@ -75,6 +75,7 @@ public class LoadBalanceTest {
                 network1.setPrefetchSize(networkBridgePrefetch);
                 network1.setConduitSubscriptions(false);
                 network1.setDecreaseNetworkConsumerPriority(false);
+                network1.setDispatchAsync(false);
                 brokerService1.start();
             }
             {
@@ -92,6 +93,7 @@ public class LoadBalanceTest {
                 network2.setPrefetchSize(networkBridgePrefetch);
                 network2.setConduitSubscriptions(false);
                 network2.setDecreaseNetworkConsumerPriority(false);
+                network2.setDispatchAsync(false);
                 brokerService2.start();
             }
             final ExecutorService pool = Executors.newSingleThreadExecutor();

Modified: activemq/trunk/activemq-spring/src/test/resources/org/apache/bugs/loadbalancetest.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-spring/src/test/resources/org/apache/bugs/loadbalancetest.xml?rev=1075887&r1=1075886&r2=1075887&view=diff
==============================================================================
--- activemq/trunk/activemq-spring/src/test/resources/org/apache/bugs/loadbalancetest.xml
(original)
+++ activemq/trunk/activemq-spring/src/test/resources/org/apache/bugs/loadbalancetest.xml
Tue Mar  1 16:29:24 2011
@@ -32,7 +32,8 @@
 	<amq:broker brokerName="${lbt.brokerName}" useJmx="false" persistent="false" advisorySupport="true"
useLocalHostBrokerName="false">
 
 	    <amq:networkConnectors>
-            <amq:networkConnector conduitSubscriptions="false" decreaseNetworkConsumerPriority="false"
networkTTL="3" 
+            <amq:networkConnector conduitSubscriptions="false" decreaseNetworkConsumerPriority="false"
networkTTL="3"
+                                  dispatchAsync="false"
                 dynamicOnly="true" uri="multicast://239.255.2.25:6155" name="network" prefetchSize="${lbt.networkBridgePrefetch}">
                 <amq:excludedDestinations>
 	                <amq:topic physicalName=">"/>



Mime
View raw message