You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2023/06/07 14:43:24 UTC

[activemq-artemis] branch main updated: ARTEMIS-4302 Renaming JournalTransactionForget as JournalTransactionForgetTest

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

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 6e36be67ae ARTEMIS-4302 Renaming JournalTransactionForget as JournalTransactionForgetTest
6e36be67ae is described below

commit 6e36be67ae07d9ca1bf64e6c2410a45434a5168c
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Wed Jun 7 10:38:32 2023 -0400

    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
---
 ...ournalTransactionForget.java => JournalTransactionForgetTest.java} | 2 +-
 ...rSystemProperty.java => VerifyUpdateFactorSystemPropertyTest.java} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

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 96%
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 ff0aba1c6e..d1a91e571d 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 @@ package org.apache.activemq.artemis.core.journal.impl;
 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 1972be35ae..eae38b0bec 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.apache.activemq.artemis.utils.SpawnedVMSupport;
 import org.junit.Assert;
 import org.junit.Test;
 
-public class VerifyUpdateFactorSystemProperty {
+public class VerifyUpdateFactorSystemPropertyTest {
 
    public static void main(String[] arg) {
 
@@ -35,7 +35,7 @@ public class VerifyUpdateFactorSystemProperty {
 
    @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());
    }