diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-11 06:08:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-11 06:08:35 +0000 |
commit | ce567e98da6118031576d9084d3e05473746e4c6 (patch) | |
tree | 309e718e82728366d7f36f17fd3caf6b5d7db71d /qa/qa/resource/runner_base.rb | |
parent | 2536b66276bb72e64d185c07d7f62f9d4b1ff91f (diff) | |
download | gitlab-ce-ce567e98da6118031576d9084d3e05473746e4c6.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/qa/resource/runner_base.rb')
-rw-r--r-- | qa/qa/resource/runner_base.rb | 7 |
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! |