allegro / embedded-elasticsearch

Tool that ease up creation of integration tests with Elasticsearch
Apache License 2.0
269 stars 81 forks source link

Using Drone with Maven 3-jdk-8 image and allegro start is timing out even with a 30 minute setting #51

Closed kjheim closed 6 years ago

kjheim commented 6 years ago

I'm using Drone6 and included an integration test using allegro but the maven build running the integration test is timing out even with a 30 minute setting. I'm using image maven:3-jdk-8. I modified the memory setting for this image to -Xmx6g but maybe that is not giving it enough memory yet. My maven command is "mvn clean install" and my test class is being started. I separated the build() and start() to know it is the start() that times out. Using .withESJavaOpts("-Xms128m -Xms512m") which works on my MAC with Java 1.8_101. WIll allegro work with Drone? What is the minimum memory needed? Any other suggestions?

kjheim commented 6 years ago

I found a solution. It was not working since elasticsearch checks for root user so I used another account name from drone.