summaryrefslogtreecommitdiff
path: root/qa/qa/resource/runner_base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/resource/runner_base.rb')
-rw-r--r--qa/qa/resource/runner_base.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/qa/qa/resource/runner_base.rb b/qa/qa/resource/runner_base.rb
index 5d514b8977b..1a977affec8 100644
--- a/qa/qa/resource/runner_base.rb
+++ b/qa/qa/resource/runner_base.rb
@@ -55,7 +55,12 @@ module QA
# Start container on initial fabrication and populate all attributes once id is known
# see: https://docs.gitlab.com/ee/api/runners.html#get-runners-details
start_container_and_register
- api_get
+ # Temporary workaround for https://gitlab.com/gitlab-org/gitlab/-/issues/409089
+ Support::Retrier.retry_on_exception(max_attempts: 6, sleep_interval: 10,
+ message: "Retrying GET for runners/:id"
+ ) do
+ api_get
+ end
end
def remove_via_api!