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

@TestHTTPEndpoint can not work with RESTEasy reactive #15001

Closed
yuhaibohotmail opened this issue Feb 11, 2021 · 1 comment · Fixed by #15023
Closed

@TestHTTPEndpoint can not work with RESTEasy reactive #15001

yuhaibohotmail opened this issue Feb 11, 2021 · 1 comment · Fixed by #15023
Labels
area/resteasy-reactive kind/bug Something isn't working
Milestone

Comments

@yuhaibohotmail
Copy link

Describe the bug
@TestHTTPEndpoint can not work with RESTEasy reactive .

@QuarkusTest
@TestHTTPEndpoint(IExampleResource.class)
public class ExampleResourceTest {

    @Test
    public void testHelloEndpoint() {
        given()
                .when().get("/hello")
                .then()
                .statusCode(200)
                .body(is("Hello RESTEasy Reactive"));
    }

}

Expected behavior
(Describe the expected behavior clearly and concisely.)

Actual behavior
(Describe the actual behavior clearly and concisely.)

[ERROR] Errors: 
[ERROR]   ExampleResourceTest.testHelloEndpoint ? Runtime Cannot determine HTTP path for...
[INFO] 
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

Environment (please complete the following information):

  • Quarkus version or git rev: 12.0.0.CR1
@yuhaibohotmail yuhaibohotmail added the kind/bug Something isn't working label Feb 11, 2021
@ghost
Copy link

ghost commented Feb 11, 2021

/cc @FroMage, @geoand, @stuartwdouglas

stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Feb 12, 2021
stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Feb 12, 2021
Also add support for setting the root path using
config.

Fixes quarkusio#15001
@ghost ghost added this to the 1.13 - master milestone Feb 12, 2021
@gsmet gsmet modified the milestones: 1.13 - master, 1.12.0.Final Feb 16, 2021
gsmet pushed a commit to gsmet/quarkus that referenced this issue Feb 16, 2021
Also add support for setting the root path using
config.

Fixes quarkusio#15001

(cherry picked from commit b6b6a98)
@gsmet gsmet modified the milestones: 1.12.0.Final, 1.11.4.Final Feb 23, 2021
gsmet pushed a commit to gsmet/quarkus that referenced this issue Feb 23, 2021
Also add support for setting the root path using
config.

Fixes quarkusio#15001

(cherry picked from commit b6b6a98)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/resteasy-reactive kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants