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:
parent
7c46b303b1
commit
6e36be67ae
|
@ -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));
|
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue