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

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Jan 16 04:59:18 EST 2010


Author: nfilotto
Date: 2010-01-16 04:59:17 -0500 (Sat, 16 Jan 2010)
New Revision: 1425

Modified:
   jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/test/TestReadNWrite.java
Log:
EXOJCR-325: RW Test based on TestLoadIndexerWriter and TestLoadIndexerQuery

Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/test/TestReadNWrite.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/test/TestReadNWrite.java	2010-01-16 09:05:27 UTC (rev 1424)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/lab/cluster/test/TestReadNWrite.java	2010-01-16 09:59:17 UTC (rev 1425)
@@ -23,7 +23,6 @@
 import org.exoplatform.services.jcr.JcrAPIBaseTest;
 import org.exoplatform.services.jcr.core.CredentialsImpl;
 import org.exoplatform.services.jcr.impl.core.SessionImpl;
-import org.exoplatform.services.jcr.lab.cluster.prepare.TestLoadIndexerWriter;
 
 import java.util.Random;
 import java.util.concurrent.CountDownLatch;
@@ -262,12 +261,12 @@
                Node threadNode = getRandomChild(rootLocal, "Thread*");
                if (threadNode != null)
                {
-                  Node statisticNode = threadNode.getNode(TestLoadIndexerWriter.STATISTIC);
+                  Node statisticNode = threadNode.getNode(STATISTIC);
                   Node wordNode = getRandomChild(statisticNode, "*");
                   if (wordNode != null)
                   {
                      String word = wordNode.getName();
-                     Long count = wordNode.getProperty(TestLoadIndexerWriter.COUNT).getLong();
+                     Long count = wordNode.getProperty(COUNT).getLong();
 
                      try
                      {



More information about the exo-jcr-commits mailing list