Skip to content
代码片段 群组 项目
未验证 提交 6a51eeed 编辑于 作者: Dan Davison's avatar Dan Davison 提交者: GitLab
浏览文件

Merge branch 'jmd/temp-do-not-create-runners-in-parallel' into 'master'

[E2E] Do not create runner resources in parallel

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144648



Merged-by: default avatarDan Davison <ddavison@gitlab.com>
Approved-by: default avatarDan Davison <ddavison@gitlab.com>
Co-authored-by: default avatarDésirée Chevalier <dchevalier@gitlab.com>
Co-authored-by: default avatarJohn McDonnell <jmcdonnell@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -22,7 +22,7 @@ module QA
end
after do
Parallel.each((0..(total_runners_count - 1)), in_threads: 3) do |i|
Parallel.each((0..(total_runners_count - 1)), in_threads: 1) do |i|
runners[i]&.remove_via_api!
end
end
......@@ -45,7 +45,7 @@ module QA
private
def launch_runners
Parallel.each((1..total_runners_count), in_threads: 3) do |i|
Parallel.each((1..total_runners_count), in_threads: 1) do |i|
runners << create(:project_runner, project: project, name: "#{executor}-#{i}", tags: [executor])
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册