Skip to content

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

…r the read timeout endpoint, restore comment about why the single connection concurrently test is disabled
@trask trask merged commit 19e6f9c into open-telemetry:main Jan 6, 2025
58 checks passed
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.

5 participants