Author: manik.surtani(a)jboss.com
Date: 2009-02-27 11:27:41 -0500 (Fri, 27 Feb 2009)
New Revision: 7806
Modified:
core/trunk/src/test/java/org/jboss/cache/statetransfer/NonBlockingStateTransferTest.java
Log:
Bug in writer thread loop
Modified:
core/trunk/src/test/java/org/jboss/cache/statetransfer/NonBlockingStateTransferTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/statetransfer/NonBlockingStateTransferTest.java 2009-02-27
13:08:31 UTC (rev 7805)
+++
core/trunk/src/test/java/org/jboss/cache/statetransfer/NonBlockingStateTransferTest.java 2009-02-27
16:27:41 UTC (rev 7806)
@@ -102,7 +102,7 @@
{
try
{
- if (c % 1000 == 0)
+ if (c == 1000)
{
startTxIfNeeded();
for (int i=0; i<1000; i++) cache.removeNode("/test" + i);