[
https://issues.apache.org/jira/browse/JENA-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235485#comment-16235485
]
ASF subversion and git services commented on JENA-1413:
-------------------------------------------------------
Commit 2171ffee6ed5337a0645c436d0f7d5cea5e3d17f in jena's branch
refs/heads/master from [~osma]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=2171ffe ]
JENA-1413: increase Elasticsearch startup timeout to 60 seconds
> jena-text-es integration tests sometimes fail
> ---------------------------------------------
>
> Key: JENA-1413
> URL: https://issues.apache.org/jira/browse/JENA-1413
> Project: Apache Jena
> Issue Type: Bug
> Components: Text
> Affects Versions: Jena 3.5.0
> Environment: Ubuntu 16.04
> Slow machine (HDD, high load...)
> Reporter: Osma Suominen
> Assignee: Osma Suominen
> Priority: Minor
>
> The symptom is that the jena-text-es build fails with this error:
> [ERROR] Failed to execute goal
> com.github.alexcojocaru:elasticsearch-maven-plugin:5.2:runforked
> (start-elasticsearch) on project jena-text-es: Condition returned by method
> "waitToStart" in class
> com.github.alexcojocaru.mojo.elasticsearch.v2.client.Monitor was not
> fulfilled within 30 seconds. -> [Help 1]
> The problem seems to be that Elasticsearch starts up slowly and the
> elasticsearch-maven-plugin times out at 30 seconds.
> I found a way to trigger this by simulating high load using the stress
> utility:
> {noformat}
> $ stress --cpu 3 -i 3 -d 3
> stress: info: [29489] dispatching hogs: 3 cpu, 3 io, 0 vm, 3 hdd
> {noformat}
> Increasing the ES startup timeout should help. I will prepare a PR shortly.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)