mirror of https://github.com/apache/activemq.git
no jira - fix intermittent failure by not differenciating between dispatch of delivery loops, it can be either depending on timing
This commit is contained in:
parent
a0f4f1c93d
commit
640354fe79
|
@ -540,7 +540,7 @@ public class RedeliveryPolicyTest extends JmsTestSupport {
|
||||||
assertEquals("1st", m.getText());
|
assertEquals("1st", m.getText());
|
||||||
String cause = m.getStringProperty(ActiveMQMessage.DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY);
|
String cause = m.getStringProperty(ActiveMQMessage.DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY);
|
||||||
assertTrue("cause exception has policy ref: " + cause, cause.contains("RedeliveryPolicy"));
|
assertTrue("cause exception has policy ref: " + cause, cause.contains("RedeliveryPolicy"));
|
||||||
assertTrue("cause exception has pre dispatch and count:" + cause, cause.contains("Dispatch[5]"));
|
assertTrue("cause exception has pre dispatch and count:" + cause, cause.contains("[5]"));
|
||||||
|
|
||||||
dlqSession.commit();
|
dlqSession.commit();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue