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

Cucumber tests are sometimes failing #55

Open
cbornet opened this issue Dec 18, 2019 · 0 comments
Open

Cucumber tests are sometimes failing #55

cbornet opened this issue Dec 18, 2019 · 0 comments

Comments

@cbornet
Copy link
Owner

cbornet commented Dec 18, 2019

This is because the Spring context is reloaded. During app restart the gRPC server sometimes doesn't have time to shutdown so the port is still busy.
Possible solutions:

  • don't start the gRPC server during tests (grpc.enabled=false)
  • ensure that the gRPC server is closed before exiting from Spring (cleaner IMO)
@cbornet cbornet changed the title Cucumber tests are failing Cucumber tests are sometimes failing Dec 18, 2019
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

1 participant