manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurizio Pillitu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1060) Write IT test for Alfresco webscript connector
Date Mon, 20 Oct 2014 20:36:34 GMT

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

Maurizio Pillitu commented on CONNECTORS-1060:
----------------------------------------------

Hi Karl,

just committed r1633221.

the IT tests are not ready yet, since the job testing logic is missing; I just added it but
I have an exception that I don't understand:

{code}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 66.431 sec <<< FAILURE!
sanityCheck(org.apache.manifoldcf.crawler.connectors.alfrescowebscript.tests.APISanityHSQLDBIT)
 Time elapsed: 66337 sec  <<< ERROR!
java.lang.Exception: Database exception: SQLException doing query (23503): integrity constraint
violation: foreign key no parent; SYS_FK_10264 table: JOBS
	at org.apache.manifoldcf.crawler.connectors.alfrescowebscript.tests.APISanityHSQLDBIT.sanityCheck(APISanityHSQLDBIT.java:281)
{code}

I understand this is referring to ManifoldCF DB instance, but I'm not sure how to control/debug
it.

I will try to remote debug the ManifoldCFInstance.java logic to better understand object interaction
and what causes this issue; I'm pretty sure it's a simple issue, since the logic was taken
from other plugins whose IT work as expected.

Thanks.

> Write IT test for Alfresco webscript connector
> ----------------------------------------------
>
>                 Key: CONNECTORS-1060
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1060
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: Alfresco webscript connector
>    Affects Versions: ManifoldCF 2.0
>            Reporter: Karl Wright
>            Assignee: Maurizio Pillitu
>             Fix For: ManifoldCF 2.0
>
>
> The only thing really needed for this work to begin is to include the indexer 0.6.2 plugin
in the Alfresco war that is built under test-materials.



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

Mime
View raw message