From 3f26875cefae960933a6f3e3898b76ead3ab62a7 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..1a29f2590e0 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(0.2) end end