refactor: 预留并行修复所需的共享接口
This commit is contained in:
@@ -487,9 +487,7 @@ def test_only_the_task_limit_runs(tmp_path: Path, monkeypatch):
|
||||
assert manager.place(third) == "run"
|
||||
assert manager.place(first) == "wait"
|
||||
manager.jobs.clear()
|
||||
manager.hydrate()
|
||||
assert first.id in manager.jobs
|
||||
assert manager.jobs[first.id].status == "queued"
|
||||
assert first.id not in manager.jobs
|
||||
assert third.id not in manager.jobs
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user