[hornetq-commits] JBoss hornetq SVN: r8056 - branches/Replication_Clebert/tests/src/org/hornetq/tests/integration/client.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Oct 6 17:07:19 EDT 2009
Author: clebert.suconic at jboss.com
Date: 2009-10-06 17:07:19 -0400 (Tue, 06 Oct 2009)
New Revision: 8056
Modified:
branches/Replication_Clebert/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java
Log:
Fixing the test for cases where there is no AIO installed.
Modified: branches/Replication_Clebert/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java
===================================================================
--- branches/Replication_Clebert/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java 2009-10-06 19:44:53 UTC (rev 8055)
+++ branches/Replication_Clebert/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java 2009-10-06 21:07:19 UTC (rev 8056)
@@ -26,6 +26,7 @@
import org.hornetq.core.journal.RecordInfo;
import org.hornetq.core.journal.impl.AIOSequentialFileFactory;
import org.hornetq.core.journal.impl.JournalImpl;
+import org.hornetq.core.journal.impl.NIOSequentialFileFactory;
import org.hornetq.core.server.HornetQServer;
import org.hornetq.tests.util.ServiceTestBase;
import org.hornetq.tests.util.SpawnedVMSupport;
@@ -258,7 +259,7 @@
*/
private void printJournal() throws Exception
{
- AIOSequentialFileFactory factory = new AIOSequentialFileFactory(getJournalDir());
+ NIOSequentialFileFactory factory = new NIOSequentialFileFactory(getJournalDir());
JournalImpl journal = new JournalImpl(ConfigurationImpl.DEFAULT_JOURNAL_FILE_SIZE,
2,
0,
More information about the hornetq-commits
mailing list