Add 'break' at RedifshClient request re-try loop#4846
Conversation
|
@blueorangutan package |
|
@GabrielBrascher a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 192 |
yadvr
left a comment
There was a problem hiding this comment.
LGTM - no way to verify the changes; smoketests won't cover changes in the plugin.
|
@GabrielBrascher have you performed any integration tests (manual/automated)? |
|
Thanks for the review @rhtyd! I have tested it, and it looks good. Here follows details of the test process comparing 4.15.0.0 with this implementation (4.15.1.0-SNAPSHOT based on this branch). A - Test steps with 4.15.0.0:
B - Test this implementation (4.15.1.0-SNAPSHOT):
|
|
@GabrielBrascher unfortunately I didn't check Travis and based on your confirmation/testing merged the PR only to find that unit tests were failing. I've reverted the PR #4861 |
|
Sorry, @rhtyd my bad; the |
Description
This PR adds a missing break at the HTTP request re-try loop.
It is a minor bug, but it can result in double re-try requests where one should be enough. Also, talking about corner cases, there is a small possibility of the first re-try request be successful, and the second fails, which could result in false error.
This PR added the break and also Test cases that cover such scenarios to ensure that now we have it all covered.
Types of changes
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?