Skip to content

Commit 716d06c

Browse files
committed
Widen ccov task label regex to go with bug 1673359/bug 1669478
1 parent a32f57b commit 716d06c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bot/code_coverage_bot/chunk_mapping.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def get_suites(revision):
3838
"and": [
3939
{"eq": {"repo.branch.name": "mozilla-central"}},
4040
{"eq": {"repo.changeset.id12": revision[:12]}},
41-
{"regexp": {"run.key": ".*-ccov/.*"}},
41+
{"regexp": {"run.key": ".*-ccov.*/.*"}},
4242
]
4343
},
4444
"limit": 500000,
@@ -62,7 +62,7 @@ def get_tests_chunks(revision, platform, suite):
6262
{"eq": {"repo.branch.name": "mozilla-central"}},
6363
{"eq": {"repo.changeset.id12": revision[:12]}},
6464
{"eq": {"run.suite.fullname": suite}},
65-
{"regexp": {"run.key": f".*-{platform}.*-ccov/.*"}},
65+
{"regexp": {"run.key": f".*-{platform}.*-ccov.*/.*"}},
6666
]
6767
},
6868
"limit": 50000,

bot/tests/test_chunk_mapping.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ def request_callback(request):
117117
data = {}
118118
elif requested_suite == "marionette":
119119
regexp = payload["where"]["and"][3]["regexp"]["run.key"]
120-
if regexp == ".*-linux.*-ccov/.*":
120+
if regexp == ".*-linux.*-ccov.*/.*":
121121
data = {
122122
"result.test": ["marionette-test1"],
123123
"run.key": [
124124
"test-linux64-ccov/opt-marionette-headless-e10s"
125125
],
126126
}
127-
elif regexp == ".*-windows.*-ccov/.*":
127+
elif regexp == ".*-windows.*-ccov.*/.*":
128128
data = {
129129
"result.test": ["marionette-test2"],
130130
"run.key": [

0 commit comments

Comments
 (0)