From fab27e270d1a3754c98175d780bc4793e13fefc5 Mon Sep 17 00:00:00 2001 From: Alex Bradbury Date: Tue, 3 Dec 2024 04:32:46 +0000 Subject: [PATCH] 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. --- buildbot/osuosl/master/master.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildbot/osuosl/master/master.cfg b/buildbot/osuosl/master/master.cfg index bed4eafdc..619d828a8 100644 --- a/buildbot/osuosl/master/master.cfg +++ b/buildbot/osuosl/master/master.cfg @@ -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