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

Update event stream tests #3254

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Update event stream tests #3254

merged 1 commit into from
Sep 12, 2024

Conversation

JordonPhillips
Copy link
Contributor

This fixes a pair of event stream tests. Implementations of application/vnd.amazon.eventstream are expected to check the CRC before attempting to semantically parse the prelude. The tests meant to enforce that were present, but the wrong error was being asserted.

This change fixes the ordering of checks, fixes the tests, and adds two new test cases to make assertions about the error types that were previously being applied to the old tests.

This fixes a pair of event stream tests. Implementations of
`application/vnd.amazon.eventstream` are expected to check the CRC
before attempting to semantically parse the prelude. The tests meant
to enforce that were present, but the wrong error was being asserted.

This change fixes the ordering of checks, fixes the tests, and adds
two new test cases to make assertions about the error types that were
previously being applied to the old tests.
Copy link
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

:shipit:

@nateprewitt nateprewitt merged commit db41663 into develop Sep 12, 2024
66 checks passed
@nateprewitt nateprewitt deleted the touch-up-eventstream branch September 12, 2024 17:11
aws-sdk-python-automation added a commit that referenced this pull request Sep 12, 2024
* release-1.35.18:
  Bumping version to 1.35.18
  Update to latest models
  Merge customizations for Glue
  Update event stream tests (#3254)
hswong3i pushed a commit to alvistack/boto-botocore that referenced this pull request Sep 13, 2024
This fixes a pair of event stream tests. Implementations of
`application/vnd.amazon.eventstream` are expected to check the CRC
before attempting to semantically parse the prelude. The tests meant
to enforce that were present, but the wrong error was being asserted.

This change fixes the ordering of checks, fixes the tests, and adds
two new test cases to make assertions about the error types that were
previously being applied to the old tests.
alexgromero pushed a commit to alexgromero/botocore that referenced this pull request Oct 8, 2024
This fixes a pair of event stream tests. Implementations of
`application/vnd.amazon.eventstream` are expected to check the CRC
before attempting to semantically parse the prelude. The tests meant
to enforce that were present, but the wrong error was being asserted.

This change fixes the ordering of checks, fixes the tests, and adds
two new test cases to make assertions about the error types that were
previously being applied to the old tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants