Author: manik.surtani(a)jboss.com
Date: 2008-06-27 08:17:15 -0400 (Fri, 27 Jun 2008)
New Revision: 6091
Modified:
core/trunk/src/test/java/org/jboss/cache/lock/MVCCLockManagerTest.java
Log:
Fixed broken test
Modified: core/trunk/src/test/java/org/jboss/cache/lock/MVCCLockManagerTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/lock/MVCCLockManagerTest.java 2008-06-27
12:17:04 UTC (rev 6090)
+++ core/trunk/src/test/java/org/jboss/cache/lock/MVCCLockManagerTest.java 2008-06-27
12:17:15 UTC (rev 6091)
@@ -3,6 +3,7 @@
import org.jboss.cache.Fqn;
import org.jboss.cache.NodeSPI;
import org.jboss.cache.UnversionedNode;
+import org.jboss.cache.factories.context.MVCCContextFactory;
import org.jboss.cache.invocation.InvocationContextContainer;
import org.jboss.cache.invocation.NodeInvocationDelegate;
import static org.jboss.cache.lock.LockType.READ;
@@ -24,6 +25,7 @@
public void setUp()
{
icc = new InvocationContextContainer();
+ icc.injectContextFactory(new MVCCContextFactory());
lm = new MVCCLockManager();
TransactionManager tm = getTransactionManager();
lm.injectDataContainer(null, null, tm, icc);