-
Notifications
You must be signed in to change notification settings - Fork 876
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
Feat add testerror #12924
base: main
Are you sure you want to change the base?
Feat add testerror #12924
Conversation
@@ -131,6 +133,7 @@ default Builder withDefaults() { | |||
.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
@@ -1029,6 +1029,34 @@ void spanEndsAfterHeadersReceived() throws Exception { | |||
}); | |||
} | |||
|
|||
@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
No description provided.