You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2019/09/06 11:07:12 UTC

[activemq] branch master updated: no jira - fix intermittent failure by not differenciating between dispatch of delivery loops, it can be either depending on timing

This is an automated email from the ASF dual-hosted git repository.

gtully pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/master by this push:
     new 640354f  no jira - fix intermittent failure by not differenciating between dispatch of delivery loops, it can be either depending on timing
640354f is described below

commit 640354fe797d9fed9d1a12c88284e4905dd6c5c1
Author: gtully <ga...@gmail.com>
AuthorDate: Fri Sep 6 12:06:54 2019 +0100

    no jira - fix intermittent failure by not differenciating between dispatch of delivery loops, it can be either depending on timing
---
 .../src/test/java/org/apache/activemq/RedeliveryPolicyTest.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/RedeliveryPolicyTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/RedeliveryPolicyTest.java
index 893ada5..5af3a37 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/RedeliveryPolicyTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/RedeliveryPolicyTest.java
@@ -540,7 +540,7 @@ public class RedeliveryPolicyTest extends JmsTestSupport {
         assertEquals("1st", m.getText());
         String cause = m.getStringProperty(ActiveMQMessage.DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY);
         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();