public void testZooKeeperClientConnectString() {
String zkClientConnect = "localhost:2181,localhost:2182,localhost:2183";
setUp(zkClientConnect, null, true);
ZooKeeperConnection zooKeeperConnection = this.containerContext.getBean(ZooKeeperConnection.class);
zooKeeperConnection.start();
assertFalse(zooKeeperConnection.getRetryPolicy().allowRetry(0, 0, null));
String actualClientConnect = this.containerContext.getEnvironment().getProperty("zk.client.connect");
assertEquals(zkClientConnect, actualClientConnect);
try {
this.containerContext.getBean(EmbeddedZooKeeper.class);