aws / aws-sdk-java-v2

The official AWS SDK for Java - Version 2
Apache License 2.0
2.16k stars 840 forks source link

Retry strategies plugins overrides have to be cleared #5309

Closed sugmanue closed 3 months ago

sugmanue commented 3 months ago

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

License

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud