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
This commit is contained in:
Clebert Suconic 2023-06-07 10:38:32 -04:00
parent 7c46b303b1
commit 6e36be67ae
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ package org.apache.activemq.artemis.core.journal.impl;
import org.junit.Test; import org.junit.Test;
import org.mockito.Mockito; import org.mockito.Mockito;
public class JournalTransactionForget { public class JournalTransactionForgetTest {
@Test @Test
public void testForgetTX() { public void testForgetTX() {
JournalTransaction transaction = new JournalTransaction(1, Mockito.mock(JournalRecordProvider.class)); JournalTransaction transaction = new JournalTransaction(1, Mockito.mock(JournalRecordProvider.class));

View File

@ -20,7 +20,7 @@ import org.apache.activemq.artemis.utils.SpawnedVMSupport;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
public class VerifyUpdateFactorSystemProperty { public class VerifyUpdateFactorSystemPropertyTest {
public static void main(String[] arg) { public static void main(String[] arg) {
@ -35,7 +35,7 @@ public class VerifyUpdateFactorSystemProperty {
@Test @Test
public void testValidateUpdateRecordProperty() throws Exception { 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()); Assert.assertEquals(0, process.waitFor());
} }