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

convert module jaxrs-client-2.0-testing test case from groovy to java #12903

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

shalk
Copy link
Contributor

@shalk shalk commented Dec 17, 2024

@shalk shalk marked this pull request as ready for review December 17, 2024 12:11
@shalk shalk requested a review from a team as a code owner December 17, 2024 12:11
@shalk shalk changed the title add jaxrs client 2.0 testing convert module jaxrs-client-2.0-testing test case from groovy to java Dec 17, 2024
abstract ClientBuilder builder()

@Unroll
def "should properly convert HTTP status #statusCode to span error status"() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you converted the method?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed this case, the client error case have been covered by AbstractHttpClientTest

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fail to see which test in AbstractHttpClientTest would test client-error endpoint that this test uses.

Copy link
Contributor Author

@shalk shalk Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fail to see which test in AbstractHttpClientTest would test client-error endpoint that this test uses.

I found HttpClientTestServer have the path /client-error
How about add a new case /client-error into AbstractHttpClientTest ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo adding it to the AbstractHttpClientTest and disabling it everywhere does not make sense. If it is added to AbstractHttpClientTest then attempt should be made to enable it on as many clients as possible. Probably best to do this in a separate PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a separate PR #12924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants