[hornetq-commits] JBoss hornetq SVN: r8057 - trunk/tests/src/org/hornetq/tests/integration/client.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Oct 6 17:13:54 EDT 2009


Author: clebert.suconic at jboss.com
Date: 2009-10-06 17:13:54 -0400 (Tue, 06 Oct 2009)
New Revision: 8057

Modified:
   trunk/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java
Log:
Fixing the test for cases where there is no AIO installed.

Modified: trunk/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java	2009-10-06 21:07:19 UTC (rev 8056)
+++ trunk/tests/src/org/hornetq/tests/integration/client/JournalCrashTest.java	2009-10-06 21:13:54 UTC (rev 8057)
@@ -24,8 +24,8 @@
 import org.hornetq.core.config.impl.ConfigurationImpl;
 import org.hornetq.core.journal.PreparedTransactionInfo;
 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 +258,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