Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A45F17402 for ; Mon, 27 Oct 2014 21:16:34 +0000 (UTC) Received: (qmail 43318 invoked by uid 500); 27 Oct 2014 21:16:34 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 43271 invoked by uid 500); 27 Oct 2014 21:16:34 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 43258 invoked by uid 99); 27 Oct 2014 21:16:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 21:16:33 +0000 Date: Mon, 27 Oct 2014 21:16:33 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1087) Alfresco webscript connector unit tests failing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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] , > [junit] "http://localhost:8080/foo", > [junit] > [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] , > [junit] "http://localhost:8080/foo", > [junit] > [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)