summaryrefslogtreecommitdiff
path: root/tests/unit/test_model_upgrade.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_model_upgrade.py')
-rw-r--r--tests/unit/test_model_upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_model_upgrade.py b/tests/unit/test_model_upgrade.py
index 9bbaf12f7..94c2d307e 100644
--- a/tests/unit/test_model_upgrade.py
+++ b/tests/unit/test_model_upgrade.py
@@ -173,7 +173,7 @@ class TestSemaphoreModelUpgrade(ZuulTestCase):
1)
# Try to release the old-style semaphore after the model API upgrade.
- tenant.semaphore_handler.release(item, job)
+ tenant.semaphore_handler.release(self.scheds.first.sched, item, job)
self.assertEqual(
len(tenant.semaphore_handler.semaphoreHolders("test-semaphore")),
0)