Skip to content
代码片段 群组 项目
未验证 提交 5a507532 编辑于 作者: John McDonnell's avatar John McDonnell 提交者: GitLab
浏览文件

[E2E] Do not create runner resources in parallel

上级 09dbe8da
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.
先完成此消息的编辑!
想要评论请 注册