Closed edeandrea closed 2 months ago
Hi @edeandrea Many thanks for posting the issue. This looks like we have bumped a version of our dependencies to one higher than the version Quarkus is using. It looks like Quarkus is using 1.65.1 of io.grpc.grpc-services and the WireMock gRPC extension is using the latest (1.66.0
)
Do you know if Quarkus are planning on upgrading the gRPC services dependency ? This should fix the issue. Adding a dependency override in the rest-flights
pom allows all the tests to pass:
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-services</artifactId>
<version>1.66.0</version>
</dependency>
Other than that, we could try using the standalone version of wiremock-grpc-extension but I would need to look into this further.
Thank you @leeturner for looking into this. I will check on the quarkus side and see what the plans are
I started a conversation about this here: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/io.2Egrpc.3Agrpc-services.20versioning.3F
I can verify that updating the version works as expected, so I'll go ahead and close this out.
Proposal
I updated my application from 0.7.0 to 0.8.0 and my tests now fail. I didn't make any changes in my project other than upgrading the version of the wiremock-grpc dependency.
Reproduction steps
See https://github.com/quarkusio/quarkus-super-heroes/pull/1160 and https://github.com/quarkusio/quarkus-super-heroes/actions/runs/10578222706/job/29307872256?pr=1160
Test classes: https://github.com/quarkusio/quarkus-super-heroes/blob/main/rest-fights/src/test/java/io/quarkus/sample/superheroes/fight/client/LocationClientTests.java and https://github.com/quarkusio/quarkus-super-heroes/blob/main/rest-fights/src/test/java/io/quarkus/sample/superheroes/fight/LocationsWiremockGrpcServerResource.java
gh pr checkout 1160
cd rest-fights
./mvnw clean test -Dtest= LocationClientTests
References
No response