@Test
public void testConnectionLoss2() throws Exception {

    startZK(1);
    ZookeeperClient client = createClient(3000);
    client.createIfNeeded("/apacheIgnite1", null, CreateMode.PERSISTENT);
    closeZK();
    try {
        client.createIfNeeded("/apacheIgnite2", null, CreateMode.PERSISTENT);
        fail();
    }
    catch (ZookeeperClientFailedException e) {
        info("Expected error: " + e);
    }
}