ARTEMIS-381 - [Artemis Testsuite] LargeMessageOverBridgeTest.testSendBytesAsLargeOnBridgeOnly fails

This commit is contained in:
Erich Duda 2016-02-02 15:13:48 +01:00
parent f7148acf52
commit 5f1daf485c
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ import org.apache.activemq.artemis.api.jms.JMSFactoryType;
import org.apache.activemq.artemis.core.config.ClusterConnectionConfiguration;
import org.apache.activemq.artemis.core.config.Configuration;
import org.apache.activemq.artemis.core.config.impl.ConfigurationImpl;
import org.apache.activemq.artemis.core.settings.impl.AddressSettings;
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
import org.apache.activemq.artemis.tests.util.JMSClusteredTestBase;
import org.junit.Test;
@ -168,6 +169,8 @@ public class LargeMessageOverBridgeTest extends JMSClusteredTestBase {
protected Configuration createConfigServer(final int source, final int destination) throws Exception {
Configuration config = super.createConfigServer(source, destination);
config.getAddressesSettings().put("#", new AddressSettings().setRedistributionDelay(0));
installHack(config);
return config;