

@atomic.action_timer('cinder.delete_snapshot')
def _delete_snapshot(self, snapshot):
    'Delete the given snapshot.\n\n        Returns when the snapshot is actually deleted.\n\n        :param snapshot: snapshot object\n        '
    snapshot.delete()
    bench_utils.wait_for_status(snapshot, ready_statuses=['deleted'], check_deletion=True, update_resource=bench_utils.get_from_manager(), timeout=CONF.benchmark.cinder_volume_delete_timeout, check_interval=CONF.benchmark.cinder_volume_delete_poll_interval)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/cinder/utils.py CinderScenario._delete_snapshot/original