[exo-jcr-commits] exo-jcr SVN: r1739 - jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/functional.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Feb 9 09:10:36 EST 2010


Author: skabashnyuk
Date: 2010-02-09 09:10:35 -0500 (Tue, 09 Feb 2010)
New Revision: 1739

Modified:
   jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/functional/TestEditedParentSearch.java
Log:
EXOJCR-395 :  add warn

Modified: jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/functional/TestEditedParentSearch.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/functional/TestEditedParentSearch.java	2010-02-09 14:08:57 UTC (rev 1738)
+++ jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/functional/TestEditedParentSearch.java	2010-02-09 14:10:35 UTC (rev 1739)
@@ -157,7 +157,14 @@
                long start = System.currentTimeMillis();
                QueryResult res = q.execute();
                long sqlsize = res.getNodes().getSize();
-               log.info("size=" + sqlsize + " time=" + (System.currentTimeMillis() - start));
+               if (sqlsize == MAX_NODES_COUNT)
+               {
+                  log.info("size=" + sqlsize + " time=" + (System.currentTimeMillis() - start));
+               }
+               else
+               {
+                  log.warn("!!!!!!!!!!! size=" + sqlsize + " time=" + (System.currentTimeMillis() - start));
+               }
             }
 
          }



More information about the exo-jcr-commits mailing list