def _clean_up_zookeeper_autoscaling(context):
    if 'max_instances' in context:
        client = KazooClient(hosts='%s/mesos-testcluster' % get_service_connection_string('zookeeper'), read_only=True)
        client.start()
        try:
            client.delete('/autoscaling', recursive=True)
        except NoNodeError:
            pass
        client.stop()
        client.close()
If max_instances was set for autoscaling, clean up zookeeper
dataset/ETHPy150Open Yelp/paasta/paasta_itests/environment.py/_clean_up_zookeeper_autoscaling