Merge "Limit scheduler_count to 1 for Scale out Scheduler tests"

This commit is contained in:
Zuul 2021-11-30 07:35:56 +00:00 committed by Gerrit Code Review
commit 7b75c3e146
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ from tests.base import iterate_timeout, ZuulTestCase
class TestScaleOutScheduler(ZuulTestCase):
tenant_config_file = "config/single-tenant/main.yaml"
# Those tests are testing specific interactions between multiple
# schedulers. They create additional schedulers as necessary and
# start or stop them individually to test specific interactions.
# Using the scheduler_count in addition to create even more
# schedulers doesn't make sense for those tests.
scheduler_count = 1
def test_multi_scheduler(self):
# A smoke test that we can enqueue a change with one scheduler