Native build test with gRPC client #43679
-
Are there any examples about how we can add an Integration test for a native executable that uses a gRPC service? The server is external to the app under test. In our I've found something about an |
Beta Was this translation helpful? Give feedback.
Answered by
cescoffier
Oct 3, 2024
Replies: 1 comment 6 replies
-
/cc @alesj (grpc), @cescoffier (grpc), @zakkak (native-image) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can start the Vert.x gRPC server in your tests. The only issue is that you will need to use a fixed port.
Here is an example to start a gRPC server with a HelloService:
https://vertx.io/docs/vertx-grpc/java/#_service_bridge