Chris et al,

  I wasn't able to replicate this test failure on Windows or rhel.  My _guess_ 
is that the OpenNLPNERecogniser is not actually being called, only the Regex 
extractor.

 Is it possible that a different ordering of tests could land you in 
NamedEntityParserTest's testParse with a NamedEntityParser.SYS_PROP_NER_IMPL 
set to the Regex parser alone? 

  I added an explicit setting of the OpenNLPNERecogniser in testParse()...we'll 
see if that fixes it.  If that does work, am I masking something that you 
wanted to test for?

  Finally, should we add an @AfterClass clean up of the system property to 
these tests so that we don't leave a residue of the tests set in the system 
properties?

Cheers,

          Tim


   

-----Original Message-----
From: Hudson (JIRA) [mailto:j...@apache.org] 
Sent: Tuesday, March 22, 2016 3:03 PM
To: dev@tika.apache.org
Subject: [jira] [Commented] (TIKA-1855) TIka 2.0 - Move shared test-code back 
to tika-core and distribute test files to parser modules


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

Hudson commented on TIKA-1855:
------------------------------

UNSTABLE: Integrated in tika-2.x #57 (See 
[https://builds.apache.org/job/tika-2.x/57/])
TIKA-1855 -- test file ending in .bin was git-ignored and fix (tallison: rev 
4390fba1317d5ee72af6a76f227311cc338043f5)
* 
tika-test-resources/src/test/resources/test-documents/test-malformed-header.html.bin
* tika-app/src/test/java/org/apache/tika/embedder/ExternalEmbedderTest.java
* .gitignore


> TIka 2.0 - Move shared test-code back to tika-core and distribute test files 
> to parser modules
> ----------------------------------------------------------------------------------------------
>
>                 Key: TIKA-1855
>                 URL: https://issues.apache.org/jira/browse/TIKA-1855
>             Project: Tika
>          Issue Type: Sub-task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>
> Undo TIKA-1851, and divide test docs to appropriate parser modules.



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

Reply via email to