Skip to content

Add retry tests for request bodies #6056

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

Merged
merged 16 commits into from
May 2, 2025
Merged

Add retry tests for request bodies #6056

merged 16 commits into from
May 2, 2025

Conversation

dagnir
Copy link
Contributor

@dagnir dagnir commented Apr 24, 2025

This commit adds tests for implementations of RequestBody and AsyncRequestBody where the requests are retried to ensure that they send the same content for every attempt.

Motivation and Context

Modifications

Testing

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

Sorry, something went wrong.

This commit adds tests for implementations of `RequestBody` and
`AsyncRequestBody` where the requests are retried to ensure that they send the
same content for every attempt.
@dagnir dagnir marked this pull request as ready for review April 24, 2025 23:35
@dagnir dagnir requested a review from a team as a code owner April 24, 2025 23:35

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
dagnir and others added 2 commits April 25, 2025 15:13

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@dagnir dagnir enabled auto-merge April 25, 2025 23:31

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
dagnir and others added 6 commits April 29, 2025 13:16

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Unfortunately WireMock saves all the request bodies which increases
memory usage. Use a plain Jetty server that doesn't save requests to
avoid this. We don't rely on any WireWock request assertions so it works
out.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@dagnir dagnir disabled auto-merge April 30, 2025 21:32
dagnir and others added 3 commits April 30, 2025 15:10

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@dagnir dagnir added the no-changelog Indicate changelog entry is not required for a specific PR label May 2, 2025
dagnir and others added 2 commits May 2, 2025 18:58

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@dagnir dagnir added this pull request to the merge queue May 2, 2025
Merged via the queue into master with commit f0a4011 May 2, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicate changelog entry is not required for a specific PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants