CURATOR-541

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.
1 file changed
tree: 768326bae16d0755d4674b892bc299782d029412
  1. curator-client/
  2. curator-examples/
  3. curator-framework/
  4. curator-recipes/
  5. curator-test/
  6. curator-test-zk34/
  7. curator-x-async/
  8. curator-x-discovery/
  9. curator-x-discovery-server/
  10. src/
  11. .gitignore
  12. .travis.yml
  13. DEPENDENCIES
  14. doap.rdf
  15. LICENSE
  16. NOTICE
  17. pom.xml
  18. README.md
README.md

Apache Curator

Build Status Maven Central

What's is Apache Curator?

Apache Curator is a Java/JVM client library for Apache ZooKeeper[1], a distributed coordination service.

Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much easier and more reliable. It also includes recipes for common use cases and extensions such as service discovery and a Java 8 asynchronous DSL. For more details, please visit the project website: http://curator.apache.org/

[1] Apache ZooKeeper https://zookeeper.apache.org/