Author: borges
Date: 2011-05-27 11:34:32 -0400 (Fri, 27 May 2011)
New Revision: 10749
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/ValidateTransactionHealthTest.java
Log:
HORNETQ-698 Fix JournalConstants references
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/ValidateTransactionHealthTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/ValidateTransactionHealthTest.java 2011-05-27
13:10:10 UTC (rev 10748)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/ValidateTransactionHealthTest.java 2011-05-27
15:34:32 UTC (rev 10749)
@@ -21,13 +21,13 @@
import junit.framework.Assert;
import org.hornetq.core.asyncio.impl.AsynchronousFileImpl;
-import org.hornetq.core.config.impl.ConfigurationImpl;
import org.hornetq.core.journal.Journal;
import org.hornetq.core.journal.LoaderCallback;
import org.hornetq.core.journal.PreparedTransactionInfo;
import org.hornetq.core.journal.RecordInfo;
import org.hornetq.core.journal.SequentialFileFactory;
import org.hornetq.core.journal.impl.AIOSequentialFileFactory;
+import org.hornetq.core.journal.impl.JournalConstants;
import org.hornetq.core.journal.impl.JournalImpl;
import org.hornetq.core.journal.impl.NIOSequentialFileFactory;
import org.hornetq.core.logging.Logger;
@@ -35,9 +35,9 @@
import org.hornetq.tests.util.UnitTestCase;
/**
- *
+ *
* This test spawns a remote VM, as we want to "crash" the VM right after the
journal is filled with data
- *
+ *
* @author <a href="mailto:clebert.suconic@jboss.com">Clebert
Suconic</a>
*
*/
@@ -400,8 +400,8 @@
if (factoryType.equals("aio"))
{
return new AIOSequentialFileFactory(directory,
-
ConfigurationImpl.DEFAULT_JOURNAL_BUFFER_SIZE_AIO,
-
ConfigurationImpl.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO,
+
JournalConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO,
+
JournalConstants.DEFAULT_JOURNAL_BUFFER_TIMEOUT_AIO,
false);
}
else if (factoryType.equals("nio2"))
Show replies by date