Fix for another bug with retry overrides. If the state is not cleared after running the plugins then it might linger and get picked up by the next plugins execution.
Modifications
This change modifies the previously added method updateRetryStrategyClientConfiguration to clear the state after setting the overrides if any.
Testing
Unit tests were added to validate that two consecutive plugin runs do not interfere with each other regarding retry strategies overrides.
Screenshots (if appropriate)
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] 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
Motivation and Context
Fix for another bug with retry overrides. If the state is not cleared after running the plugins then it might linger and get picked up by the next plugins execution.
Modifications
This change modifies the previously added method
updateRetryStrategyClientConfiguration
to clear the state after setting the overrides if any.Testing
Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsscripts/new-change
script and following the instructions. Commit the new file created by the script in.changes/next-release
with your changes.License