manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1087) Alfresco webscript connector unit tests failing
Date Mon, 27 Oct 2014 21:16:33 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185826#comment-14185826
] 

Karl Wright commented on CONNECTORS-1087:
-----------------------------------------

r1634688 (trunk)
r1634689 (dev_1x)


> Alfresco webscript connector unit tests failing
> -----------------------------------------------
>
>                 Key: CONNECTORS-1087
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1087
>             Project: ManifoldCF
>          Issue Type: Bug
>    Affects Versions: ManifoldCF 1.8, ManifoldCF 2.0
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.8, ManifoldCF 2.0
>
>
> The failure is as follows:
> {code}
> run-tests:
>     [mkdir] Created dir: C:\wip\mcf\trunk\connectors\alfresco-webscript\test-out
> put
>     [junit] Testsuite: org.apache.manifoldcf.authorities.authorities.alfrescoweb
> script.AlfrescoAuthorityConnectorTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16
> 7 sec
>     [junit]
>     [junit] Testsuite: org.apache.manifoldcf.crawler.connectors.alfrescowebscrip
> t.AlfrescoConnectorTest
>     [junit] !!! Fetched and added 0 seed documents
>     [junit] !!! Fetched and added 0 seed documents
>     [junit] !!! Fetched and added 0 seed documents
>     [junit] !!! Fetched and added 1 seed documents
>     [junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.24
> 9 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit] !!! Fetched and added 0 seed documents
>     [junit] !!! Fetched and added 0 seed documents
>     [junit] !!! Fetched and added 0 seed documents
>     [junit] !!! Fetched and added 1 seed documents
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(org.ap
> ache.manifoldcf.crawler.connectors.alfrescowebscript.AlfrescoConnectorTest):
> FAILED
>     [junit]
>     [junit] Wanted but not invoked:
>     [junit] iProcessActivity.ingestDocumentWithException(
>     [junit]     "abc123",
>     [junit]     <any>,
>     [junit]     "http://localhost:8080/foo",
>     [junit]     <Capturing argument>
>     [junit] );
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnectorTest.whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(AlfrescoC
> onnectorTest.java:160)
>     [junit]
>     [junit] However, there were other interactions with this mock:
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:282)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:291)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:298)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:305)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:320)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:321)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:403)
>     [junit]
>     [junit] junit.framework.AssertionFailedError:
>     [junit] Wanted but not invoked:
>     [junit] iProcessActivity.ingestDocumentWithException(
>     [junit]     "abc123",
>     [junit]     <any>,
>     [junit]     "http://localhost:8080/foo",
>     [junit]     <Capturing argument>
>     [junit] );
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnectorTest.whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(AlfrescoC
> onnectorTest.java:160)
>     [junit]
>     [junit] However, there were other interactions with this mock:
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:282)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:291)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:298)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:305)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:320)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:321)
>     [junit] -> at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Alf
> rescoConnector.processDocuments(AlfrescoConnector.java:403)
>     [junit]
>     [junit]     at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.Al
> frescoConnectorTest.whenProcessingDocumentsNodeRefsAreUsedAsDocumentURI(Alfresco
> ConnectorTest.java:160)
>     [junit]     at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(J
> Unit45AndHigherRunnerImpl.java:37)
>     [junit]     at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner
> .java:62)
>     [junit]
>     [junit]
> BUILD FAILED
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message