incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1172580 - in /incubator/lcf/trunk: ./ framework/core/src/test/java/org/apache/manifoldcf/core/tests/ loadtests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_loadtests/ site/src/documentation/content/xdocs/
Date Mon, 19 Sep 2011 11:58:49 GMT
Author: kwright
Date: Mon Sep 19 11:58:49 2011
New Revision: 1172580

URL: http://svn.apache.org/viewvc?rev=1172580&view=rev
Log:
Get the load test working.  CONNECTORS-87.

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/framework/core/src/test/java/org/apache/manifoldcf/core/tests/BasePostgresql.java
    incubator/lcf/trunk/loadtests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_loadtests/BigCrawlPostgresqlTest.java
    incubator/lcf/trunk/site/src/documentation/content/xdocs/performance-tuning.xml

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1172580&r1=1172579&r2=1172580&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Mon Sep 19 11:58:49 2011
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 0.4-dev =====================
 
+CONNECTORS-87: Add a framework load test.
+(Karl Wright)
+
 CONNECTORS-255: Add ability to process site map documents, in both
 RSS connector and Web connector.
 (Karl Wright)

Modified: incubator/lcf/trunk/framework/core/src/test/java/org/apache/manifoldcf/core/tests/BasePostgresql.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/core/src/test/java/org/apache/manifoldcf/core/tests/BasePostgresql.java?rev=1172580&r1=1172579&r2=1172580&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/core/src/test/java/org/apache/manifoldcf/core/tests/BasePostgresql.java
(original)
+++ incubator/lcf/trunk/framework/core/src/test/java/org/apache/manifoldcf/core/tests/BasePostgresql.java
Mon Sep 19 11:58:49 2011
@@ -99,6 +99,11 @@ public class BasePostgresql
       "  <property name=\"org.apache.manifoldcf.databaseimplementationclass\" value=\"org.apache.manifoldcf.core.database.DBInterfacePostgreSQL\"/>\n"
+
       "  <property name=\"org.apache.manifoldcf.database.name\" value=\"testdb\"/>\n"
+
       "  <property name=\"org.apache.manifoldcf.database.username\" value=\"testuser\"/>\n"
+
+      "  <property name=\"org.apache.manifoldcf.crawler.threads\" value=\"30\"/>\n"
+
+      "  <property name=\"org.apache.manifoldcf.crawler.expirethreads\" value=\"10\"/>\n"
+
+      "  <property name=\"org.apache.manifoldcf.crawler.cleanupthreads\" value=\"10\"/>\n"
+
+      "  <property name=\"org.apache.manifoldcf.crawler.deletethreads\" value=\"10\"/>\n"
+
+      "  <property name=\"org.apache.manifoldcf.database.maxhandles\" value=\"80\"/>\n"
+
       "  <property name=\"org.apache.manifoldcf.logconfigfile\" value=\""+loggingFile.getAbsolutePath().replaceAll("\\\\","/")+"\"/>\n"
+
       "</configuration>\n");
 

Modified: incubator/lcf/trunk/loadtests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_loadtests/BigCrawlPostgresqlTest.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/loadtests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_loadtests/BigCrawlPostgresqlTest.java?rev=1172580&r1=1172579&r2=1172580&view=diff
==============================================================================
--- incubator/lcf/trunk/loadtests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_loadtests/BigCrawlPostgresqlTest.java
(original)
+++ incubator/lcf/trunk/loadtests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_loadtests/BigCrawlPostgresqlTest.java
Mon Sep 19 11:58:49 2011
@@ -83,6 +83,7 @@ public class BigCrawlPostgresqlTest exte
       e.printStackTrace();
       throw e;
     }
+    System.out.println("Done generating files");
   }
   
   @After
@@ -102,7 +103,7 @@ public class BigCrawlPostgresqlTest exte
   }
   
   @Test
-  public void sanityCheck()
+  public void bigCrawl()
     throws Exception
   {
     try

Modified: incubator/lcf/trunk/site/src/documentation/content/xdocs/performance-tuning.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/site/src/documentation/content/xdocs/performance-tuning.xml?rev=1172580&r1=1172579&r2=1172580&view=diff
==============================================================================
--- incubator/lcf/trunk/site/src/documentation/content/xdocs/performance-tuning.xml (original)
+++ incubator/lcf/trunk/site/src/documentation/content/xdocs/performance-tuning.xml Mon Sep
19 11:58:49 2011
@@ -92,7 +92,7 @@
             The properties.xml parameter that controls this is <em>org.apache.manifoldcf.database.maxhandles</em>.
 The formula you should use to properly set the value is below.
           </p>
           <p></p>
-          <p>worker_thread_count + delete_thread_count + expiration_thread_count +
10 &lt; manifoldcf_db_pool_size</p>
+          <p>worker_thread_count + delete_thread_count + expiration_thread_count +
cleanup_thread_count + 10 &lt; manifoldcf_db_pool_size</p>
           <p></p>
         </section>
         <section>



Mime
View raw message