File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -196,22 +196,22 @@ def reportable(platform_to_test=None):
196
196
# keeping this logic to still see how many mappings are reported.
197
197
for entry in plan_entries :
198
198
if entry .get ("name" ) in distributed_mappings :
199
- report = False
200
199
site = entry .get ("name" )
201
200
for run_ in entry .get ("runs" ):
202
201
if run_ .get ("config" ):
203
202
run_region , run_platform = run_ .get ("config" ).split ("-" )
204
- covered_mappings += (
205
- 1
206
- if run_region in distributed_mappings [site ]
203
+ if (
204
+ run_region in distributed_mappings [site ]
207
205
and platform in run_platform
208
- else 0
209
- )
206
+ ):
207
+ covered_mappings += 1
208
+ report = False
210
209
logging .warning (
211
210
f"Potentially matching run found for { platform } , may be reportable. (Found { covered_mappings } site/region mappings reported.)"
212
211
)
212
+ logging .warning (f"Run is reportable: { report } " )
213
213
# Only report when there is a new beta and no other site/region mappings are reported.
214
- return report or covered_mappings == 0
214
+ return report
215
215
else :
216
216
covered_suites = 0
217
217
for entry in plan_entries :
You can’t perform that action at this time.
0 commit comments