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

feat: Add concurrent integration tests #1484

Closed
wants to merge 5 commits into from
Closed

Conversation

jbelkins
Copy link
Contributor

@jbelkins jbelkins commented May 7, 2024

Issue #

#1457

Description of changes

Issues like #1457 were caused by concurrent use of this SDK, specifically its HTTP client. Reviewing our integration tests, we do not have any tests that run concurrent requests.

This PR introduces a simple tool to make existing tests concurrent.

Specific changes:

  • Adds a AWSIntegrationTestUtils target that links to all integration tests and can be used to share utilities across tests.
  • Adds a method repeatConcurrently(count:test:) that can be used to repeat an existing integration test concurrently
  • Performs several existing integration tests concurrently, including several with streaming request and response bodies

New/existing dependencies impact assessment, if applicable

No new dependencies were added to this change.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jbelkins jbelkins marked this pull request as ready for review May 7, 2024 14:28
@jbelkins jbelkins marked this pull request as draft May 8, 2024 15:24
@jbelkins
Copy link
Contributor Author

jbelkins commented Jul 2, 2024

Closing in favor of #1596

@jbelkins jbelkins closed this Jul 2, 2024
@jbelkins jbelkins deleted the jbe/replace_body_stream branch July 2, 2024 19:12
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.

1 participant