ARTEMIS-4302 Renaming JournalTransactionForget as JournalTransactionForgetTest
Renaming JournalTransactionForgetTest so it is picked by maven plugin test filter.
As I'm fixing JournalTransactionForget test I also found an older test in the same situation and I'm fixing that one as well
diff --git a/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/JournalTransactionForget.java b/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/JournalTransactionForgetTest.java
similarity index 95%
rename from artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/JournalTransactionForget.java
rename to artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/JournalTransactionForgetTest.java
index ff0aba1..d1a91e5 100644
--- a/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/JournalTransactionForget.java
+++ b/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/JournalTransactionForgetTest.java
@@ -20,7 +20,7 @@
import org.junit.Test;
import org.mockito.Mockito;
-public class JournalTransactionForget {
+public class JournalTransactionForgetTest {
@Test
public void testForgetTX() {
JournalTransaction transaction = new JournalTransaction(1, Mockito.mock(JournalRecordProvider.class));
diff --git a/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/VerifyUpdateFactorSystemProperty.java b/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/VerifyUpdateFactorSystemPropertyTest.java
similarity index 88%
rename from artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/VerifyUpdateFactorSystemProperty.java
rename to artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/VerifyUpdateFactorSystemPropertyTest.java
index 1972be3..eae38b0 100644
--- a/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/VerifyUpdateFactorSystemProperty.java
+++ b/artemis-journal/src/test/java/org/apache/activemq/artemis/core/journal/impl/VerifyUpdateFactorSystemPropertyTest.java
@@ -20,7 +20,7 @@
import org.junit.Assert;
import org.junit.Test;
-public class VerifyUpdateFactorSystemProperty {
+public class VerifyUpdateFactorSystemPropertyTest {
public static void main(String[] arg) {
@@ -35,7 +35,7 @@
@Test
public void testValidateUpdateRecordProperty() throws Exception {
- Process process = SpawnedVMSupport.spawnVM(VerifyUpdateFactorSystemProperty.class.getName(), new String[]{"-D" + JournalImpl.class.getName() + ".UPDATE_FACTOR=33.0"}, new String[]{});
+ Process process = SpawnedVMSupport.spawnVM(VerifyUpdateFactorSystemPropertyTest.class.getName(), new String[]{"-D" + JournalImpl.class.getName() + ".UPDATE_FACTOR=33.0"}, new String[]{});
Assert.assertEquals(0, process.waitFor());
}