From 4a553bc82bb2e4479df8487e4c87ef3353ce7708 Mon Sep 17 00:00:00 2001 From: Ian Ballou Date: Fri, 22 May 2020 19:17:17 +0000 Subject: [PATCH] add sleep to destroy imports --- app/lib/katello/resources/candlepin/owner.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/katello/resources/candlepin/owner.rb b/app/lib/katello/resources/candlepin/owner.rb index cf880affe6c..0d0b22ba140 100644 --- a/app/lib/katello/resources/candlepin/owner.rb +++ b/app/lib/katello/resources/candlepin/owner.rb @@ -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