Skip to content
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

test(instrumentation-aws-sdk): fix SQS mock responses for @aws-sdk/client-sqs versions using the AWS JSON 1.0 protocol #1844

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

trentm
Copy link
Contributor

@trentm trentm commented Dec 2, 2023

Versions 3.446.0 and later switched to a new JSON protocol.
https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sqs/CHANGELOG.md#34460-2023-11-08

Refs: #1838 (comment)


Note that this fixes one issue with testing recent @aws-sdk/client-sqs versions. TAV tests for aws-sdk will still fail for a different reason (#1477) until there is a workaround/fix for that.

@trentm trentm self-assigned this Dec 2, 2023
@trentm trentm requested a review from a team December 2, 2023 01:14
Copy link

codecov bot commented Dec 2, 2023

Codecov Report

Merging #1844 (2c3fb09) into main (1c24cfd) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1844   +/-   ##
=======================================
  Coverage   91.49%   91.49%           
=======================================
  Files         144      144           
  Lines        7388     7388           
  Branches     1474     1474           
=======================================
  Hits         6760     6760           
  Misses        628      628           

@trentm trentm merged commit 094fd6f into open-telemetry:main Dec 6, 2023
13 of 16 checks passed
@trentm trentm deleted the tm-tav-sqs-json-protocol-fail branch December 6, 2023 16:27
trentm added a commit to trentm/opentelemetry-js-contrib that referenced this pull request Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants