fix: close scheduler persistence and capacity gaps
This commit is contained in:
@@ -97,6 +97,16 @@ def test_build_scheduler_service_wires_server_stores(tmp_path: Path) -> None:
|
||||
assert service.ownership.lock_path == server.config.store_root / "scheduler.lock"
|
||||
|
||||
|
||||
def test_build_scheduler_service_shares_schedule_store_with_server_api(
|
||||
tmp_path: Path,
|
||||
) -> None:
|
||||
"""Enabled scheduler composition exposes the same store to API and poller."""
|
||||
server = build_local_static_workflow_server(tmp_path)
|
||||
service = build_scheduler_service(server, SchedulerServiceConfig(auto_tick=False))
|
||||
|
||||
assert server.api.schedules._schedule_store() is service.schedule_store
|
||||
|
||||
|
||||
async def test_scheduler_service_start_stop_on_server_stores(
|
||||
tmp_path: Path,
|
||||
) -> None:
|
||||
|
||||
Reference in New Issue
Block a user