Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional test in HasParentTest intermittently fails due to a lack in ES configuration #1306

Merged
merged 1 commit into from
May 13, 2017

Conversation

p365labs
Copy link
Collaborator

The problem with the docker image from ES version 5.2.2 is that is shipped with x-pack installed, I disabled security but I forgot to disable monitor which sometimes make this test failing.

At this time it's not possible to remove completely the xpack plugin (except with a workaround) due
to an issue in the official docker ES image : elastic/elasticsearch-docker#36. At the moment I've disabled security and monitoring from the elasticsearch.yml. The problem has been resolved (maybe) in the 5.4, my suggestion is to completely remove the plugin when we will switch to that version.

@ruflin
Copy link
Owner

ruflin commented May 13, 2017

The alternative would be to enable it for all tests and use the default username / password. Like this we also test the authentication. This will probably work well in 5.x. But in 6.0 probably random passwords will be introduced which will make this much more complex.

@ruflin ruflin merged commit e55077f into ruflin:master May 13, 2017
@p365labs p365labs deleted the remove_xpack_monitoring branch May 13, 2017 20:06
mhernik pushed a commit to mhernik/Elastica that referenced this pull request Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants