From 8f5b7a1e73164f7b7867872a77d74f13176a5af5 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 19 Dec 2017 14:44:52 -0500 Subject: [PATCH] ARTEMIS-1545 Adding HornetQ 2.4.7 on the mesh to validate send-acks --- .../activemq/artemis/core/protocol/core/impl/PacketImpl.java | 3 +++ .../activemq/artemis/tests/compatibility/SendAckTest.java | 2 ++ 2 files changed, 5 insertions(+) diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java index 00e96130dc..48f6c6c53c 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java @@ -29,7 +29,10 @@ public class PacketImpl implements Packet { // Constants ------------------------------------------------------------------------- + // 2.0.0 public static final int ADDRESSING_CHANGE_VERSION = 129; + + // 2.5.0 public static final int ASYNC_RESPONSE_CHANGE_VERSION = 130; diff --git a/tests/compatibility-tests/src/test/java/org/apache/activemq/artemis/tests/compatibility/SendAckTest.java b/tests/compatibility-tests/src/test/java/org/apache/activemq/artemis/tests/compatibility/SendAckTest.java index 2f217045bd..6b68304abc 100644 --- a/tests/compatibility-tests/src/test/java/org/apache/activemq/artemis/tests/compatibility/SendAckTest.java +++ b/tests/compatibility-tests/src/test/java/org/apache/activemq/artemis/tests/compatibility/SendAckTest.java @@ -21,6 +21,7 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; +import static org.apache.activemq.artemis.tests.compatibility.GroovyRun.HORNETQ_247; import static org.apache.activemq.artemis.tests.compatibility.GroovyRun.ONE_FOUR; import static org.apache.activemq.artemis.tests.compatibility.GroovyRun.SNAPSHOT; import static org.apache.activemq.artemis.tests.compatibility.GroovyRun.TWO_FOUR; @@ -61,6 +62,7 @@ public class SendAckTest extends VersionedBaseTest { // not every combination on two four would make sense.. as there's a compatibility issue between 2.4 and 1.4 when crossing consumers and producers combinations.add(new Object[]{TWO_FOUR, SNAPSHOT, SNAPSHOT}); combinations.add(new Object[]{SNAPSHOT, TWO_FOUR, TWO_FOUR}); + combinations.add(new Object[]{HORNETQ_247, SNAPSHOT, SNAPSHOT}); return combinations; }