Revert "Add wait for location import task"
This reverts commit dca4bc830e016981fd5d15b7097b8f8b4899e935.
Reason for revert: We wait for the hash calcuation to finish
in the test which is fixed by [1] so we can remove the wait
part and proceed with image deletion when the location add
task ongoing.
[1] https://review.opendev.org/c/openstack/glance/+/950853
Signed-off-by: Rajat Dhasmana <rajatdhasmana@gmail.com>
Change-Id: I8e213df0ca7280e6c56fc16079efc6fb0a9f4b69
Conflicts:
tempest/api/volume/test_volumes_actions.py
diff --git a/tempest/api/volume/test_volumes_actions.py b/tempest/api/volume/test_volumes_actions.py
index 8b2bc69..6261ddc 100644
--- a/tempest/api/volume/test_volumes_actions.py
+++ b/tempest/api/volume/test_volumes_actions.py
@@ -126,13 +126,6 @@
image_id)
waiters.wait_for_image_status(self.images_client, image_id,
'active')
- # This is required for the optimized upload volume path.
- # New location APIs are async so we need to wait for the location
- # import task to complete.
- # This should work with old location API since we don't fail if
- # there are no tasks for the image
- waiters.wait_for_image_tasks_status(self.images_client,
- image_id, 'success')
waiters.wait_for_volume_resource_status(self.volumes_client,
self.volume['id'],
'available')