From 8ab293dc9e7117c276e1d63ba00978ef54185f4f Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Tue, 10 Nov 2020 11:47:02 -0500 Subject: [PATCH] test_start_next_batch_build_repo_building: actually try to start the batch --- tests/test_scheduler/test_batches.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_scheduler/test_batches.py b/tests/test_scheduler/test_batches.py index 272fe54b..e0c194d8 100644 --- a/tests/test_scheduler/test_batches.py +++ b/tests/test_scheduler/test_batches.py @@ -421,6 +421,8 @@ class TestBatches: builder = mock.MagicMock() builder.buildroot_ready.return_value = False + start_next_batch_build(conf, module_build, builder) + module_build = models.ModuleBuild.get_by_id(db_session, 3) # Batch number should not increase.