Sample project with rest-client-codestart has test failures #24553
Labels
area/codestarts
area/devtools
Issues/PR related to maven, gradle, platform and cli tooling/plugins
area/rest-client
kind/bug
Something isn't working
Milestone
Describe the bug
sample project with rest-client-codestart has test failures
Test fails on
Assertions.assertEquals("REST Client", extension.shortName);
checkhttps://github.com/quarkusio/quarkus/blob/main/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/rest-client-codestart/java/src/test/java/org/acme/MyRemoteServiceTest.java#L26
There is no
shortName
defined for quarkus-rest-client extension, see https://stage.code.quarkus.io/api/extensions?id=io.quarkus:quarkus-rest-clientTo resolve this either test in the codestart needs to be adjusted or metadata for code.quarkus need to be enhanced to provide
shortName
for quarkus-rest-client extensioncc @ia3andy / @maxandersen
Expected behavior
sample project with rest-client-codestart has no failures
Actual behavior
sample project with rest-client-codestart has test failures
How to Reproduce?
mvn io.quarkus:quarkus-maven-plugin:2.7.5.Final:create -DprojectGroupId=io.quarkus.qe -DprojectArtifactId=rest-client -DprojectVersion=1.0.0-SNAPSHOT -Dextensions=rest-client -DquarkusRegistryClient=false
-DquarkusRegistryClient=false
is needed because of resteasy-codestart is picked instead of rest-client-codestart when generating project with rest-client extension #24552mvn clean verify -f rest-client
Output of
uname -a
orver
macOS Monterey
Output of
java -version
Java 17
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.7.5.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: