Upgrade to ZooKeeper-3.4.7
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user