manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1703180 - /manifoldcf/branches/CONNECTORS-1231/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/InterruptionTester.java
Date Tue, 15 Sep 2015 12:53:00 GMT
Author: kwright
Date: Tue Sep 15 12:53:00 2015
New Revision: 1703180

URL: http://svn.apache.org/r1703180
Log:
Increase timeout to deal with problems not fully understood

Modified:
    manifoldcf/branches/CONNECTORS-1231/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/InterruptionTester.java

Modified: manifoldcf/branches/CONNECTORS-1231/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/InterruptionTester.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1231/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/InterruptionTester.java?rev=1703180&r1=1703179&r2=1703180&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1231/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/InterruptionTester.java
(original)
+++ manifoldcf/branches/CONNECTORS-1231/framework/pull-agent/src/test/java/org/apache/manifoldcf/crawler/tests/InterruptionTester.java
Tue Sep 15 12:53:00 2015
@@ -84,14 +84,14 @@ public class InterruptionTester
     instance.waitJobRunningNative(jobManager,job.getID(),30000L);
     
     // Wait for the job to become inactive.  The time should not exceed 10 seconds for the
actual crawl.
-    instance.waitJobInactiveNative(jobManager,job.getID(),30000L);
+    instance.waitJobInactiveNative(jobManager,job.getID(),60000L);
     // The document will be skipped in the end.
     if (jobManager.getStatus(job.getID()).getDocumentsProcessed() != 9)
       throw new Exception("Expected 9 documents, saw "+jobManager.getStatus(job.getID()).getDocumentsProcessed());
     
     // Now, delete the job.
     jobManager.deleteJob(job.getID());
-    instance.waitJobDeletedNative(jobManager,job.getID(),30000L);
+    instance.waitJobDeletedNative(jobManager,job.getID(),60000L);
 
     // Shut down instance2
     instance.stop();



Mime
View raw message