You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by GitBox <gi...@apache.org> on 2019/09/21 17:59:38 UTC

[GitHub] [curator] Randgalt opened a new pull request #326: [CURATOR-541] Fix retry code in BaseClassForTests

Randgalt opened a new pull request #326: [CURATOR-541] Fix retry code in BaseClassForTests
URL: https://github.com/apache/curator/pull/326
 
 
   The retry code in BaseClassForTests was hopelessly broken - I don't know for how long. Reworked it so that it does the right thing now (hopefully). Storing the retry count as an attribute wasn't working. The new method stores it as a field in the test class and makes sure that it's always correct. It should only ever be true when actually retrying and, given that TestNG always calls the retry method, it can be reset after a retry fails.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services