Repository: curator Updated Branches: refs/heads/master b63559663 -> 97ddf919b
Update docs to document how to use the curator-test module with ZooKeeper 3.4.x Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/e37cb59c Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/e37cb59c Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/e37cb59c Branch: refs/heads/master Commit: e37cb59c1e9b7ac7f21d3c3444b6bb789a3e3708 Parents: d502dde Author: randgalt <[email protected]> Authored: Mon Dec 18 21:11:27 2017 -0500 Committer: randgalt <[email protected]> Committed: Mon Dec 18 21:11:27 2017 -0500 ---------------------------------------------------------------------- src/site/confluence/zk-compatibility.confluence | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/e37cb59c/src/site/confluence/zk-compatibility.confluence ---------------------------------------------------------------------- diff --git a/src/site/confluence/zk-compatibility.confluence b/src/site/confluence/zk-compatibility.confluence index 4103bf2..3a84dda 100644 --- a/src/site/confluence/zk-compatibility.confluence +++ b/src/site/confluence/zk-compatibility.confluence @@ -46,3 +46,32 @@ mode as needed. In this mode, all features not supported by 3.4 are disabled. It application code to "do the right thing" and not use these features. Use the {{isZk34CompatibilityMode()}} method to determine which mode Curator is using at runtime. +h2. Testing With ZooKeeper 3.4.x + +Note: If you wish to use Curator's {{TestingServer}} with ZooKeeper 3.4.x you must use the older version of +it (in addition to the instructions above): + +_Maven_ + +{code} +<dependency> + <groupId>org.apache.curator</groupId> + <artifactId>curator-test</artifactId> + <version>2.12.0</version> + <exclusions> + <exclusion> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + </exclusion> + </exclusions> + <scope>test</scope> +</dependency> +{code} + +_Gradle_ + +{code} +compile('org.apache.curator:curator-test:2.12.0') { + exclude('org.apache.zookeeper:zookeeper') +} +{code}
