Commit 10b695c9 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'migration' of into migration

parents b1d621f2 ac08df04
Pipeline #45359 passed with stages
in 25 minutes and 56 seconds
......@@ -767,16 +767,18 @@ class NomadCOEMigration:
upload_to_delete = upload
if delete:
upload_to_delete = self.nomad(
'uploads.delete_upload', upload_id=upload_to_delete.upload_id)
sleep = utils.SleepTimeBackoff()
while upload.process_running:
while upload_to_delete.process_running:
upload_to_delete = self.nomad(
'uploads.delete_upload', upload_id=upload_to_delete.upload_id)
'uploads.get_upload', upload_id=upload_to_delete.upload_id)
except HTTPNotFound:
# the proc upload will be deleted by the delete operation
break'deleted upload after migration failure')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment