[hornetq-commits] JBoss hornetq SVN: r8405 - branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/journal/impl/fakes.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Nov 25 19:06:37 EST 2009
Author: clebert.suconic at jboss.com
Date: 2009-11-25 19:06:37 -0500 (Wed, 25 Nov 2009)
New Revision: 8405
Modified:
branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/journal/impl/fakes/FakeSequentialFileFactory.java
Log:
Fixing a few Journal Fake tests
Modified: branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/journal/impl/fakes/FakeSequentialFileFactory.java
===================================================================
--- branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/journal/impl/fakes/FakeSequentialFileFactory.java 2009-11-25 22:20:57 UTC (rev 8404)
+++ branches/20-optimisation/tests/src/org/hornetq/tests/unit/core/journal/impl/fakes/FakeSequentialFileFactory.java 2009-11-26 00:06:37 UTC (rev 8405)
@@ -607,6 +607,8 @@
*/
public void write(HornetQBuffer bytes, boolean sync, IOCompletion callback) throws Exception
{
+ bytes.writerIndex(bytes.capacity());
+ bytes.readerIndex(0);
writeDirect(bytes.toByteBuffer(), sync, callback);
}
More information about the hornetq-commits
mailing list