Apache Curator 4.0 adds best-effort backward compatibility for ZooKeeper 3.4 ensembles and the ZooKeeper 3.4 library/JAR. This module, curator-test-zk34
, exists to run the standard Curator tests using ZooKeeper 3.4. It does this via Maven. In the curator-test-zk34 pom.xml:
Timing.java
and KillSession.java
. Therefore, these classes are now soft-deprecated, reverted to their original implementations and there are new classes with the new methods: Timing2.java
and KillSession2.java
CuratorTestBase
is started. Over time more common stuff should go in here but, for now, this defines a TestNG listener, Zk35MethodInterceptor, that allows for tests that are ZooKeeper 3.5 only to be marked by @Test(groups = Zk35MethodInterceptor.zk35Group)
. These tests will not be run during the 3.4 compatibility check.curator-test/src/main/java/org/apache/curator/test/compatibility
are copied.