@@ -154,24 +154,6 @@ c["builders"] = []
154154c ["schedulers" ] = []
155155
156156parallel = {w .name : f"-j{ w .parallel_tests } " for w in WORKERS if w .parallel_tests }
157- extra_factory_args = {
158- "cstratak-RHEL8-ppc64le" : {
159- # Increase the timeout on this slow worker
160- "timeout_factor" : 2 ,
161- },
162- "bcannon-wasi" : {
163- # Increase the timeout on this slow worker
164- "timeout_factor" : 2 ,
165- },
166-
167- }
168-
169- # Build factory args from worker properties
170- for w in WORKERS :
171- if w .exclude_test_resources :
172- if w .name not in extra_factory_args :
173- extra_factory_args [w .name ] = {}
174- extra_factory_args [w .name ]["exclude_test_resources" ] = w .exclude_test_resources
175157
176158# The following with the worker owners' agreement
177159cpulock = locks .WorkerLock (
@@ -288,7 +270,7 @@ for branch_num, (git_url, branchname, git_branch) in enumerate(git_branches):
288270 source ,
289271 parallel = parallel .get (worker_name ),
290272 branch = branchname ,
291- ** extra_factory_args . get ( worker_name , {}) ,
273+ ** worker . extra_factory_args ,
292274 )
293275 tags = [branchname , stability , * getattr (f , "tags" , [])]
294276 if tier :
@@ -389,14 +371,16 @@ for name, worker_name, buildfactory, stability, tier in BUILDERS:
389371
390372 source = GitHub (repourl = git_url , ** GIT_KWDS )
391373
374+ worker = WORKERS_BY_NAME [worker_name ]
375+
392376 f = buildfactory (
393377 source ,
394378 parallel = parallel .get (worker_name ),
395379 # Use the same downstream branch names as the "custom"
396380 # builder (check what the factories are doing with this
397381 # parameter for more info).
398382 branch = "3" ,
399- ** extra_factory_args . get ( worker_name , {}) ,
383+ ** worker . extra_factory_args ,
400384 )
401385
402386 tags = ["PullRequest" , stability , * getattr (f , "tags" , [])]
0 commit comments