-
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
Changes from 3 commits
bf29129
b1f274d
a1fb938
40bc16f
400f3f5
b4c3dbe
62a88ac
c3eda2e
6087880
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,6 +89,8 @@ public boolean isLowLevelInstrumentation() { | |
|
|
||
| public abstract boolean getTestNonStandardHttpMethod(); | ||
|
|
||
| public abstract boolean getTestClientError(); | ||
|
|
||
| public abstract Function<URI, String> getHttpProtocolVersion(); | ||
|
|
||
| @Nullable | ||
|
|
@@ -131,6 +133,7 @@ default Builder withDefaults() { | |
| .setTestCallbackWithParent(true) | ||
| .setTestErrorWithCallback(true) | ||
| .setTestNonStandardHttpMethod(true) | ||
| .setTestClientError(true) | ||
|
||
| .setHttpProtocolVersion(uri -> "1.1"); | ||
| } | ||
|
|
||
|
|
@@ -174,6 +177,8 @@ default Builder withDefaults() { | |
|
|
||
| Builder setTestNonStandardHttpMethod(boolean value); | ||
|
|
||
| Builder setTestClientError(boolean value); | ||
|
|
||
| Builder setHttpProtocolVersion(Function<URI, String> value); | ||
|
|
||
| @CanIgnoreReturnValue | ||
|
|
||
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
errorSpantest, perhaps it would make sense to parameterize that test insteadThere 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