mirror of https://github.com/apache/activemq.git
make test more deterministic to avert hudson failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1075887 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8fd5330a4
commit
6ebedcc1ed
|
@ -75,6 +75,7 @@ public class LoadBalanceTest {
|
||||||
network1.setPrefetchSize(networkBridgePrefetch);
|
network1.setPrefetchSize(networkBridgePrefetch);
|
||||||
network1.setConduitSubscriptions(false);
|
network1.setConduitSubscriptions(false);
|
||||||
network1.setDecreaseNetworkConsumerPriority(false);
|
network1.setDecreaseNetworkConsumerPriority(false);
|
||||||
|
network1.setDispatchAsync(false);
|
||||||
brokerService1.start();
|
brokerService1.start();
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -92,6 +93,7 @@ public class LoadBalanceTest {
|
||||||
network2.setPrefetchSize(networkBridgePrefetch);
|
network2.setPrefetchSize(networkBridgePrefetch);
|
||||||
network2.setConduitSubscriptions(false);
|
network2.setConduitSubscriptions(false);
|
||||||
network2.setDecreaseNetworkConsumerPriority(false);
|
network2.setDecreaseNetworkConsumerPriority(false);
|
||||||
|
network2.setDispatchAsync(false);
|
||||||
brokerService2.start();
|
brokerService2.start();
|
||||||
}
|
}
|
||||||
final ExecutorService pool = Executors.newSingleThreadExecutor();
|
final ExecutorService pool = Executors.newSingleThreadExecutor();
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
<amq:networkConnectors>
|
<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}">
|
dynamicOnly="true" uri="multicast://239.255.2.25:6155" name="network" prefetchSize="${lbt.networkBridgePrefetch}">
|
||||||
<amq:excludedDestinations>
|
<amq:excludedDestinations>
|
||||||
<amq:topic physicalName=">"/>
|
<amq:topic physicalName=">"/>
|
||||||
|
|
Loading…
Reference in New Issue