@Test
public void testDeleteExt() throws KeeperException, InterruptedException {

  if (zooKeeperExt == null) {
    System.out.println(
        "testDeleteExt: No prop.zookeeper.list set, skipping test");
    return;
  }
  zooKeeperExt.createExt(BASE_PATH,
                         null,
                         Ids.OPEN_ACL_UNSAFE,
                         CreateMode.PERSISTENT,
                         false);
  zooKeeperExt.createExt(BASE_PATH + FIRST_PATH,
                         null,
                         Ids.OPEN_ACL_UNSAFE,
                         CreateMode.PERSISTENT,
                         false);
  try {
    zooKeeperExt.deleteExt(BASE_PATH, -1, false);
  } catch (KeeperException.NotEmptyException e) {
    System.out.println(
        "Correctly failed to delete since not recursive");
  }
  zooKeeperExt.deleteExt(BASE_PATH, -1, true);
}