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

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Feb 8 09:15:55 EST 2010


Author: skabashnyuk
Date: 2010-02-08 09:15:54 -0500 (Mon, 08 Feb 2010)
New Revision: 1722

Modified:
   jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/load/query/JcrQueryAvgResponceTimeTest.java
Log:
EXOJCR-395 : more test time

Modified: jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/load/query/JcrQueryAvgResponceTimeTest.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/load/query/JcrQueryAvgResponceTimeTest.java	2010-02-08 14:06:35 UTC (rev 1721)
+++ jcr/trunk/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/cluster/load/query/JcrQueryAvgResponceTimeTest.java	2010-02-08 14:15:54 UTC (rev 1722)
@@ -60,12 +60,12 @@
    /**
     * 2min default time of work of one iteration.
     */
-   private static final int ITERATION_TIME = 60 * 1000;
+   private static final int ITERATION_TIME = 20 * 60 * 1000;
 
    /**
     * How much thread will be added on the next iteration.
     */
-   private static final int ITERATION_GROWING_POLL = 5;
+   private static final int ITERATION_GROWING_POLL = 15;
 
    /**
     * Number between 0 and 100 show % how many read operations. 
@@ -86,7 +86,7 @@
    public void testname() throws Exception
    {
       QueryAvgResponceTimeTest test =
-         new QueryAvgResponceTimeTest(repository, ITERATION_GROWING_POLL, ITERATION_TIME, 1, READ_VALUE);
+         new QueryAvgResponceTimeTest(repository, ITERATION_GROWING_POLL, ITERATION_TIME, 15, READ_VALUE);
       test.testResponce();
 
    }



More information about the exo-jcr-commits mailing list