Skip to content

Commit

Permalink
Fix local testing mode by skipping downstream-only config setting (#323)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
asb authored Dec 3, 2024
1 parent e2110fa commit fab27e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildbot/osuosl/master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ c['workers'] = config.workers.get_all()

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

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

####### CHANGESOURCES

Expand Down

0 comments on commit fab27e2

Please sign in to comment.