[jboss-cvs] JBoss Messaging SVN: r4274 - trunk/tests/src/org/jboss/messaging/tests/integration/core/asyncio/impl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 21 14:00:10 EDT 2008
Author: clebert.suconic at jboss.com
Date: 2008-05-21 14:00:09 -0400 (Wed, 21 May 2008)
New Revision: 4274
Modified:
trunk/tests/src/org/jboss/messaging/tests/integration/core/asyncio/impl/SingleThreadWriteNativeTest.java
Log:
Fixing typo on message
Modified: trunk/tests/src/org/jboss/messaging/tests/integration/core/asyncio/impl/SingleThreadWriteNativeTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/core/asyncio/impl/SingleThreadWriteNativeTest.java 2008-05-21 17:42:55 UTC (rev 4273)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/core/asyncio/impl/SingleThreadWriteNativeTest.java 2008-05-21 18:00:09 UTC (rev 4274)
@@ -20,9 +20,6 @@
import org.jboss.messaging.core.asyncio.impl.AsynchronousFileImpl;
import org.jboss.messaging.core.logging.Logger;
-import junit.extensions.TestDecorator;
-import junit.extensions.TestSetup;
-import junit.framework.Test;
import junit.framework.TestCase;
/**
@@ -221,7 +218,6 @@
try
{
- final int NUMBER_LINES = 1;
final int SIZE = 512;
controller.open(FILE_NAME, 10);
@@ -676,7 +672,6 @@
System.out.println("++testDirectDataNoPage"); System.out.flush();
final int NUMBER_LINES = 10000;
final int SIZE = 1024;
- //final int SIZE = 512;
final AsynchronousFileImpl controller = new AsynchronousFileImpl();
controller.open(FILE_NAME, 2000);
@@ -736,7 +731,7 @@
long startPreAllocate = System.currentTimeMillis();
controller.fill(0l, 1, size, (byte)0);
long endPreAllocate = System.currentTimeMillis() - startPreAllocate;
- if (endPreAllocate != 0) System.out.println("PreAllocated the file in " + endPreAllocate + " seconds, What means " + (size/endPreAllocate) + " bytes per millisecond");
+ if (endPreAllocate != 0) System.out.println("PreAllocated the file (size = " + size + " bytes) in " + endPreAllocate + " Milliseconds, What means " + (size/endPreAllocate) + " bytes per millisecond");
}
More information about the jboss-cvs-commits
mailing list