Skip to content
代码片段 群组 项目
未验证 提交 2410ba9a 编辑于 作者: Rémy Coutable's avatar Rémy Coutable
浏览文件

auto-quarantine: Match interpolated test descriptions


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
上级 3db1575e
No related branches found
No related tags found
无相关合并请求
......@@ -31,8 +31,8 @@ module Keeps
class QuarantineFlakyTests < ::Gitlab::Housekeeper::Keep
MINIMUM_REMAINING_RATE = 25
QUERY_URL_TEMPLATE = "https://gitlab.com/api/v4/projects/278964/issues/?order_by=updated_at&state=opened&labels[]=test&labels[]=failure::flaky-test&labels[]=%<flakiness_label>s&not[labels][]=QA&not[labels][]=quarantine&per_page=20"
# https://rubular.com/r/WnMxnDPvGGjoGE
EXAMPLE_LINE_REGEX = /\bit (?<description_and_metadata>[\w'",: ]*(?:,\n)?[\w\'",: ]+?) do$/m
# https://rubular.com/r/OoeQIEwPkL1m7E
EXAMPLE_LINE_REGEX = /\bit (?<description_and_metadata>[\w'",: \#\{\}]*(?:,\n)?[\w\'",: ]+?) do$/m
FLAKINESS_LABELS = %w[flakiness::1 flakiness::2].freeze
def each_change
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册