Skip to content

Commit fab27e2

Browse files
authored
Fix local testing mode by skipping downstream-only config setting (#323)
Ideally we'd better replicate the the deployed config, but this hopefully moves things forward. Note: as the GitHub Actions pre-commit testing relies on "local testing mode", this PR fixes that too.
1 parent e2110fa commit fab27e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: buildbot/osuosl/master/master.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ c['workers'] = config.workers.get_all()
3939

4040
c['protocols'] = {'pb': {'port': "tcp:9990:interface=127.0.0.1" if test_mode else 9990}}
4141

42-
c['ignoreOfflineWorkersTimeout'] = 30 # minutes.
42+
if not test_mode: # Config key only supported on downstream buildbot fork.
43+
c['ignoreOfflineWorkersTimeout'] = 30 # minutes.
4344

4445
####### CHANGESOURCES
4546

0 commit comments

Comments
 (0)