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

Can't stop farm after error appears in farmBeforeIntegrationTest #351

Closed
triffer opened this issue Apr 10, 2017 · 2 comments
Closed

Can't stop farm after error appears in farmBeforeIntegrationTest #351

triffer opened this issue Apr 10, 2017 · 2 comments

Comments

@triffer
Copy link

triffer commented Apr 10, 2017

I have a integration test that will start four webapps for testing. If an error (e.g. "java.lang.Exception: Failed to start component [StandardServer[-1]]") occurs during farmBeforeIntegrationTest the server won't be shutdown.
When I run farmAfterIntegrationTest explicitly after the before failed, this task will also fail with the following message: Gretty seems to be not running, cannot send command 'stop' to it.
I also tried running farmStop, but I got the same message.

@triffer triffer closed this as completed Jan 30, 2019
@echatman
Copy link

echatman commented May 1, 2019

I'm running into a similar problem - do you remember what the solution was?

@triffer
Copy link
Author

triffer commented May 2, 2019

There was no real solution, just a workaround. We had a shell script in our pipeline that stopped those processes when an error occured. Meanwhile we are using Docker.

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

No branches or pull requests

3 participants
@echatman @triffer and others