-
Couldn't load subscription status.
- Fork 1k
Feat add a test case in AbstractHttpClientTest.java #12924
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
Conversation
| .setTestCallbackWithParent(true) | ||
| .setTestErrorWithCallback(true) | ||
| .setTestNonStandardHttpMethod(true) | ||
| .setTestClientError(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if a test is always enabled then there is no need to add an option to disable it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
| } | ||
|
|
||
| @Test | ||
| void requestClientError() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is essentially a copy of errorSpan test, perhaps it would make sense to parameterize that test instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
hi @shalk! can you update the PR description to include the motivation for this test? thanks |
BackGroup:
In origin jaxrs-client 2.0-testing groovy file there is a test case relate to http test.
The test case is client error , send http request with path
/client-errorto server and return400http status code.Laurit advise to add this case for all http test.
cc @trask