NO-JIRA Upgrade RollingUpgradeTest version to 2.37.0

This commit is contained in:
Clebert Suconic 2024-12-12 11:52:28 -05:00 committed by clebertsuconic
parent 539bd0881c
commit 82c0c3f329
2 changed files with 5 additions and 8 deletions

View File

@ -298,10 +298,8 @@
</artifactItems>
</configuration>
</execution>
<!-- TODO: Switch this to 2.37.0 as soon as we release it.
It will be important to test the switch at the current and previous version. -->
<execution>
<id>unpack-2.36.0</id>
<id>unpack-2.37.0</id>
<phase>compile</phase>
<goals>
<goal>unpack</goal>
@ -311,7 +309,7 @@
<artifactItem>
<groupId>org.apache.activemq</groupId>
<artifactId>apache-artemis</artifactId>
<version>2.36.0</version>
<version>2.37.0</version>
<classifier>bin</classifier>
<type>zip</type>
<outputDirectory>${basedir}/target/old-releases</outputDirectory>

View File

@ -54,8 +54,7 @@ public class RollingUpgradeTest extends RealServerTestBase {
private static final String TWO_THIRTY = "./target/old-releases/apache-artemis-2.30.0";
// TODO: Upgrade this towards 2.37 as soon as we release it
private static final String TWO_THIRTY_SIX = "./target/old-releases/apache-artemis-2.36.0";
private static final String TWO_THIRTY_SEVEN = "./target/old-releases/apache-artemis-2.37.0";
private static final String QUEUE_NAME = "RollQueue";
@ -188,8 +187,8 @@ public class RollingUpgradeTest extends RealServerTestBase {
}
@Test
public void testRollUpgrade_2_36() throws Exception {
testRollUpgrade(new File(TWO_THIRTY_SIX), HelperBase.getHome(ARTEMIS_HOME_PROPERTY));
public void testRollUpgrade_2_37() throws Exception {
testRollUpgrade(new File(TWO_THIRTY_SEVEN), HelperBase.getHome(ARTEMIS_HOME_PROPERTY));
}
// Define a System Property TEST_ROLLED_DISTRIBUTION towards the Artemis Home of your choice and this will