Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ abstract class AWS1ClientTest extends VersionedNamingTestBase {
"bucketname" "someBucket"
"aws.object.key" "someKey"
try {
errorTags AmazonClientException, ~/Unable to execute HTTP request/
errorTags AmazonClientException
} catch (AssertionError e) {
errorTags SdkClientException, "Unable to execute HTTP request: Request did not complete before the request timeout configuration."
errorTags IOException
Comment on lines +391 to +393
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Assert the timeout error message tag

For this errored AWS span the tracer still emits error.message, but the class-only errorTags(...) overload only verifies error.type and error.stack; TagsAssert.assertTagsAllVerified() then treats error.message as an unexpected/unverified tag and the test fails whenever either branch matches. The old assertion verified the message, so this flake fix needs to keep asserting error.message flexibly (for example with String or a broad pattern) rather than omitting it.

Useful? React with 👍 / 👎.

}
defaultTags()
}
Expand Down
Loading