You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2013/02/24 23:52:28 UTC

svn commit: r1449563 - /manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java

Author: kwright
Date: Sun Feb 24 22:52:28 2013
New Revision: 1449563

URL: http://svn.apache.org/r1449563
Log:
Add at least one simple history test.  Part of CONNECTORS-63.

Modified:
    manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java

Modified: manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java?rev=1449563&r1=1449562&r2=1449563&view=diff
==============================================================================
--- manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java (original)
+++ manifoldcf/trunk/tests/filesystem/src/test/java/org/apache/manifoldcf/filesystem_tests/APISanityTester.java Sun Feb 24 22:52:28 2013
@@ -252,6 +252,9 @@ public class APISanityTester
     if (count != 5)
       throw new ManifoldCFException("Wrong number of documents processed after delete - expected 5, saw "+new Long(count).toString());
 
+    // Have a try to get the history records for the connection
+    result = instance.performAPIGetOperationViaNodes("repositoryconnectionhistory/File%20Connection?report=simple",200);
+
     // Now, delete the job.
     instance.deleteJobAPI(jobIDString);