You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write some integration tests using Cucumber for a Micronaut gRPC application. Micronaut successfully launches its embedded gRPC server when run from the command line (java -jar ...). The embedded gRPC server starts when a unit test with the @MicronautTest annotation is run (mvn install). However, when the Cucumber tests are run from the command line (mvn verify), Micronaut starts, but not the embedded gRPC server.
As a result the integration test gets an "UNAVAILABLE" gRPC error because there's nothing for the client in the integration test to connect to.
Issue description
I'm trying to write some integration tests using Cucumber for a Micronaut gRPC application. Micronaut successfully launches its embedded gRPC server when run from the command line (
java -jar ...
). The embedded gRPC server starts when a unit test with the @MicronautTest annotation is run (mvn install
). However, when the Cucumber tests are run from the command line (mvn verify
), Micronaut starts, but not the embedded gRPC server.As a result the integration test gets an "UNAVAILABLE" gRPC error because there's nothing for the client in the integration test to connect to.
I've used modified information from Cucumber with Micronaut to integrate the two utilities.
There is a cucumber-micronaut-bean-failure repo with the code. See the README for details on running the integration (Cucumber) and unit tests.
The text was updated successfully, but these errors were encountered: