[
https://issues.apache.org/jira/browse/OPENNLP-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17810292#comment-17810292
]
ASF GitHub Bot commented on OPENNLP-1538:
-----------------------------------------
mawiesne commented on PR #584:
URL: https://github.com/apache/opennlp/pull/584#issuecomment-1907736090
> How should the code be changed to use the old model? Is there something I
can help with to get these IT tests passing?
@l-ma Have a look at `ChunkerModelLoaderTest#downloadVersion15Model`. This
code (and the one in the abstract base class of `ChunkerModelLoaderTest` can do
the trick job. I assume you need to copy over some helper methods to an
abstract ... IT base class, similar as done in `ChunkerModelLoaderTest` and
`AbstractModelLoaderTest`
Hope it helps.
> Ensure all integration tests are run during Eval build
> ------------------------------------------------------
>
> Key: OPENNLP-1538
> URL: https://issues.apache.org/jira/browse/OPENNLP-1538
> Project: OpenNLP
> Issue Type: Task
> Components: Build, Packaging and Test
> Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0
> Reporter: Martin Wiesner
> Assignee: Lara Marinov
> Priority: Major
> Fix For: 2.3.2
>
>
> POSTaggerMEIT in the [Jenkins log
> |https://ci-builds.apache.org/blue/rest/organizations/jenkins/pipelines/OpenNLP/pipelines/eval-tests/runs/312/log/?start=0&download=true],
> so in consequence a
> {{cat log.txt | grep POSTaggerMEIT}}
> gives an empty result.
> Moreover, any test that ends with *IT.java do not show up in the Jenkins log.
> Aims:
> - Make sure, the ITs are run during (eval) builds
> - Introduce and / or check for an appropriate Maven profile that executes ITs
> in a separate phase, eg. via maven-failsafe-plugin
--
This message was sent by Atlassian Jira
(v8.20.10#820010)