commit | 3bef5e95ccd983e5dde221151ba835df5b0a861e | [log] [tgz] |
---|---|---|
author | randgalt <randgalt@apache.org> | Sat Sep 21 12:57:09 2019 -0500 |
committer | randgalt <randgalt@apache.org> | Sat Sep 21 12:57:09 2019 -0500 |
tree | 768326bae16d0755d4674b892bc299782d029412 | |
parent | db399d4194b55a2b2af7f8c454002f8a11400b87 [diff] |
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.
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/