Skip to content

Commit

Permalink
add sleep to destroy imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ianballou committed May 22, 2020
1 parent fa45258 commit 4a553bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/lib/katello/resources/candlepin/owner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def destroy_imports(organization_name, wait_until_complete = false)
path = join_path('candlepin', response['statusPath'][1..-1])
response_json = self.get(path, self.default_headers)
response = JSON.parse(response_json).with_indifferent_access
sleep(1)
end
end

Expand Down

0 comments on commit 4a553bc

Please sign in to comment.