Upgrade to ZooKeeper-3.4.7

This commit is contained in:
Artem Bilan
2016-02-16 15:01:24 -05:00
parent 7595e4f142
commit 217d5395c0
2 changed files with 9 additions and 1 deletions

View File

@@ -143,7 +143,7 @@ subprojects { subproject ->
springWsVersion = '2.2.4.RELEASE'
xmlUnitVersion = '1.6'
xstreamVersion = '1.4.7'
zookeeperVersion = '3.4.6'
zookeeperVersion = '3.4.7'
}
eclipse {

View File

@@ -25,6 +25,7 @@ import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.apache.curator.framework.CuratorFramework;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -66,6 +67,13 @@ public class LeaderInitiatorFactoryBeanTests extends ZookeeperTestSupport {
client = createNewClient();
}
@AfterClass
public static void closeClient() {
if (client != null) {
client.close();
}
}
@Test
public void test() throws Exception {
assertTrue(this.config.latch1.await(10, TimeUnit.SECONDS));