[exo-jcr-commits] exo-jcr SVN: r1216 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/prepare.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Dec 28 10:01:26 EST 2009


Author: skabashnyuk
Date: 2009-12-28 10:01:26 -0500 (Mon, 28 Dec 2009)
New Revision: 1216

Modified:
   jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/prepare/TestIndexUpdateMonitor.java
Log:
EXOJCR-331 : add IndexerIoMode to JbossCacheIndexUpdateMonitor

Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/prepare/TestIndexUpdateMonitor.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/prepare/TestIndexUpdateMonitor.java	2009-12-28 14:58:50 UTC (rev 1215)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/prepare/TestIndexUpdateMonitor.java	2009-12-28 15:01:26 UTC (rev 1216)
@@ -20,6 +20,7 @@
 
 import junit.framework.TestCase;
 
+import org.exoplatform.services.jcr.impl.core.query.IndexerIoMode;
 import org.exoplatform.services.jcr.impl.core.query.jbosscache.JbossCacheIndexUpdateMonitor;
 import org.exoplatform.services.jcr.impl.core.query.lucene.IndexUpdateMonitor;
 import org.exoplatform.services.log.ExoLogger;
@@ -53,7 +54,7 @@
    {
       // TODO Auto-generated method stub
       super.setUp();
-      indexUpdateMonitor = new JbossCacheIndexUpdateMonitor(createCache());
+      indexUpdateMonitor = new JbossCacheIndexUpdateMonitor(createCache(), IndexerIoMode.READ_WRITE);
    }
 
    public void testSimpleBoolean() throws Exception



More information about the exo-jcr-commits mailing list