NO-JIRA Speeding test and intermittent failure
This commit is contained in:
parent
663c1d67d4
commit
3d746d3b23
|
@ -485,6 +485,8 @@ public class RedeployTest extends ActiveMQTestBase {
|
|||
|
||||
deployBrokerConfig(embeddedActiveMQ, newConfig);
|
||||
|
||||
Wait.waitFor(() -> embeddedActiveMQ.getActiveMQServer().getPostOffice()
|
||||
.getBinding(new SimpleString("divert")) == null);
|
||||
divertBinding = (DivertBinding) embeddedActiveMQ.getActiveMQServer().getPostOffice()
|
||||
.getBinding(new SimpleString("divert"));
|
||||
assertNull(divertBinding);
|
||||
|
@ -500,7 +502,7 @@ public class RedeployTest extends ActiveMQTestBase {
|
|||
Message message = session.createTextMessage("Hello world");
|
||||
sourceProducer.send(message);
|
||||
assertNotNull(sourceConsumer.receive(2000));
|
||||
assertNull(targetConsumer.receive(2000));
|
||||
assertNull(targetConsumer.receiveNoWait());
|
||||
}
|
||||
} finally {
|
||||
embeddedActiveMQ.stop();
|
||||
|
|
|
@ -25,6 +25,7 @@ under the License.
|
|||
<core xmlns="urn:activemq:core">
|
||||
<security-enabled>false</security-enabled>
|
||||
<persistence-enabled>false</persistence-enabled>
|
||||
<configuration-file-refresh-period>100</configuration-file-refresh-period>
|
||||
|
||||
<acceptors>
|
||||
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>
|
||||
|
|
|
@ -25,6 +25,7 @@ under the License.
|
|||
<core xmlns="urn:activemq:core">
|
||||
<security-enabled>false</security-enabled>
|
||||
<persistence-enabled>false</persistence-enabled>
|
||||
<configuration-file-refresh-period>100</configuration-file-refresh-period>
|
||||
|
||||
<acceptors>
|
||||
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>
|
||||
|
|
Loading…
Reference in New Issue